@@ -16,24 +16,20 @@ jobs:
1616 runs-on : ${{ matrix.os }}
1717 strategy :
1818 matrix :
19- java : [8, 11, 17, 19-ea]
20- os : [ubuntu-20 .04, windows-2022, macos-11]
19+ java : [8, 11, 17, 19, 20 -ea]
20+ os : [ubuntu-22 .04, windows-2022, macos-11]
2121 profile : [default, reflection, asm]
2222 fail-fast : false
2323 name : Test JDK ${{ matrix.java }}, ${{ matrix.os }}, ${{ matrix.profile }}
2424
2525 steps :
26- - uses : actions/checkout@v2
26+ - uses : actions/checkout@v3
2727 - name : Set up JDK ${{ matrix.java }}
28- uses : actions/setup-java@v1
28+ uses : actions/setup-java@v3
2929 with :
30+ distribution : temurin
3031 java-version : ${{ matrix.java }}
31- - name : Cache Maven packages
32- uses : actions/cache@v2
33- with :
34- path : ~/.m2/repository
35- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml', '.github/workflows/pre-integration.yml') }}
36- restore-keys : ${{ runner.os }}-maven
32+ cache : maven
3733 - name : Run build with tests
3834 run : mvn clean install -P ${{ matrix.profile }} -B --file pom.xml
3935 if : (runner.os == 'Linux') || (matrix.profile == 'default')
0 commit comments