2020 strategy :
2121 fail-fast : false
2222 matrix :
23- os-name : [ubuntu-22.04 ]
23+ os-name : [ubuntu-latest ]
2424 java-version : [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21-ea]
2525 include :
2626
@@ -125,10 +125,11 @@ jobs:
125125
126126 publish-test-reports :
127127 name : Publish test reports
128- runs-on : ubuntu-22.04
128+ runs-on : ubuntu-latest
129129 if : always()
130130 needs :
131131 - build
132+ - linting
132133
133134 permissions :
134135 checks : write
@@ -167,12 +168,6 @@ jobs:
167168 test_changes_limit : 500
168169 time_unit : " milliseconds"
169170
170- - name : Validate codecov.yml
171- continue-on-error : false
172- if : always()
173- shell : bash
174- run : curl --data-binary --fail @codecov.yml https://codecov.io/validate
175-
176171 - name : Publish to codecov
177172 continue-on-error : true
178173 if : always()
@@ -190,7 +185,7 @@ jobs:
190185
191186 linting :
192187 name : Linting
193- runs-on : ubuntu-22.04
188+ runs-on : ubuntu-latest
194189
195190 steps :
196191 - name : Checkout repository
@@ -205,7 +200,7 @@ jobs:
205200 java-version : 17
206201 cache : ' maven'
207202
208- - name : Run checks
203+ - name : Run Maven checks
209204 shell : bash
210205 run : >-
211206 ./mvnw -B -U
@@ -215,10 +210,16 @@ jobs:
215210 -Dmaven.resources.skip
216211 -Dmaven.test.skip
217212 verify
213+
214+ - name : Validate codecov.yml
215+ continue-on-error : false
216+ if : always()
217+ shell : bash
218+ run : curl --data-binary --fail @codecov.yml https://codecov.io/validate
218219
219220 generate-documentation :
220221 name : Generate documentation
221- runs-on : ubuntu-22.04
222+ runs-on : ubuntu-latest
222223
223224 steps :
224225 - name : Checkout repository
@@ -254,7 +255,8 @@ jobs:
254255 concurrency :
255256 cancel-in-progress : true
256257 group : snapshot-javadocs
257- runs-on : ubuntu-22.04
258+
259+ runs-on : ubuntu-latest
258260 if : github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
259261
260262 permissions :
0 commit comments