Skip to content

Commit 0a350ff

Browse files
authored
Update github actions (#1022)
1 parent a66647d commit 0a350ff

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/ci.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
java: [ 8, 11, 17, 20 ]
16+
java: [ 8, 11, 17, 21 ]
1717
name: Java ${{ matrix.java }}
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Setup JDK
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@v4
2323
with:
2424
distribution: 'temurin'
2525
java-version: ${{ matrix.java }}
2626
cache: 'maven'
2727

2828
- name: Build with Maven
29-
run: mvn clean verify
29+
run: mvn --batch-mode --update-snapshots verify -Dstyle.color=always
3030

3131
- name: Upload coverage to Codecov
3232
if: matrix.java == '8'
33-
uses: codecov/codecov-action@v3.1.1
33+
uses: codecov/codecov-action@v4
3434
with:
35-
fail_ci_if_error: true
35+
token: ${{ secrets.CODECOV_TOKEN }}
36+
fail_ci_if_error: false

0 commit comments

Comments
 (0)