@@ -12,80 +12,83 @@ jobs:
1212 runs-on : ubuntu-latest
1313 timeout-minutes : 30
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v5
1616
17- - name : Set up JDK 21
18- uses : actions/setup-java@v1
19- with :
20- java-version : ' 21'
17+ - name : Set up JDK 21
18+ uses : actions/setup-java@v5
19+ with :
20+ java-version : ' 21'
21+ distribution : ' temurin'
2122
22- - name : Cache local Maven repository
23- uses : actions/cache@v4
24- with :
25- path : ~/.m2/repository
26- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
27- restore-keys : |
28- ${{ runner.os }}-maven-
23+ - name : Cache local Maven repository
24+ uses : actions/cache@v4
25+ with :
26+ path : ~/.m2/repository
27+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
28+ restore-keys : |
29+ ${{ runner.os }}-maven-
2930
30- - name : Verify
31- run : ./mvnw clean verify -U
31+ - name : Verify
32+ run : ./mvnw clean verify -U
3233
33- - name : Checkstyle
34- run : ./mvnw checkstyle:check
34+ - name : Checkstyle
35+ run : ./mvnw checkstyle:check
3536
3637 windows :
3738 name : Windows
3839 runs-on : windows-latest
3940 timeout-minutes : 30
4041 steps :
41- - name : Set git to use LF
42- run : |
43- git config --global core.autocrlf false
44- git config --global core.eol lf
42+ - name : Set git to use LF
43+ run : |
44+ git config --global core.autocrlf false
45+ git config --global core.eol lf
4546
46- - uses : actions/checkout@v2
47+ - uses : actions/checkout@v5
4748
48- - name : Set up JDK 21
49- uses : actions/setup-java@v1
50- with :
51- java-version : ' 21'
49+ - name : Set up JDK 21
50+ uses : actions/setup-java@v5
51+ with :
52+ java-version : ' 21'
53+ distribution : ' temurin'
5254
53- - name : Cache local Maven repository
54- uses : actions/cache@v4
55- with :
56- path : $HOME/.m2/repository
57- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
58- restore-keys : |
59- ${{ runner.os }}-maven-
55+ - name : Cache local Maven repository
56+ uses : actions/cache@v4
57+ with :
58+ path : $HOME/.m2/repository
59+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
60+ restore-keys : |
61+ ${{ runner.os }}-maven-
6062
61- - name : Verify
62- run : ./mvnw.cmd clean verify
63+ - name : Verify
64+ run : ./mvnw.cmd clean verify
6365
64- - name : Checkstyle
65- run : ./mvnw.cmd checkstyle:check
66+ - name : Checkstyle
67+ run : ./mvnw.cmd checkstyle:check
6668
6769 darwin :
6870 name : macOS
6971 runs-on : macos-latest
7072 timeout-minutes : 30
7173 steps :
72- - uses : actions/checkout@v2
73-
74- - name : Set up JDK 21
75- uses : actions/setup-java@v1
76- with :
77- java-version : ' 21'
78-
79- - name : Cache local Maven repository
80- uses : actions/cache@v4
81- with :
82- path : ~/.m2/repository
83- key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
84- restore-keys : |
85- ${{ runner.os }}-maven-
86-
87- - name : Verify
88- run : ./mvnw clean verify -U
89-
90- - name : Checkstyle
91- run : ./mvnw checkstyle:check
74+ - uses : actions/checkout@v5
75+
76+ - name : Set up JDK 21
77+ uses : actions/setup-java@v5
78+ with :
79+ java-version : ' 21'
80+ distribution : ' temurin'
81+
82+ - name : Cache local Maven repository
83+ uses : actions/cache@v4
84+ with :
85+ path : ~/.m2/repository
86+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
87+ restore-keys : |
88+ ${{ runner.os }}-maven-
89+
90+ - name : Verify
91+ run : ./mvnw clean verify -U
92+
93+ - name : Checkstyle
94+ run : ./mvnw checkstyle:check
0 commit comments