@@ -16,24 +16,20 @@ jobs:
16
16
runs-on : ${{ matrix.os }}
17
17
strategy :
18
18
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]
21
21
profile : [default, reflection, asm]
22
22
fail-fast : false
23
23
name : Test JDK ${{ matrix.java }}, ${{ matrix.os }}, ${{ matrix.profile }}
24
24
25
25
steps :
26
- - uses : actions/checkout@v2
26
+ - uses : actions/checkout@v3
27
27
- name : Set up JDK ${{ matrix.java }}
28
- uses : actions/setup-java@v1
28
+ uses : actions/setup-java@v3
29
29
with :
30
+ distribution : temurin
30
31
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
37
33
- name : Run build with tests
38
34
run : mvn clean install -P ${{ matrix.profile }} -B --file pom.xml
39
35
if : (runner.os == 'Linux') || (matrix.profile == 'default')
0 commit comments