Skip to content

Bump google-java-format to 1.18.1 (#182) #211

Bump google-java-format to 1.18.1 (#182)

Bump google-java-format to 1.18.1 (#182) #211

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
strategy:
matrix:
java: [ '11', '17', '21' ]
os: [ 'ubuntu-20.04', 'windows-latest' ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: print Java version
run: java -version
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: mvn --no-transfer-progress -B clean verify