@@ -2,44 +2,48 @@ name: Build
22on :
33 push :
44 branches :
5- - master
5+ - main
66 - " 1.6"
7+ - " 1.7"
78 paths-ignore :
89 - " README.md"
910 - " release-notes/*"
1011 pull_request :
1112 branches :
12- - master
13+ - main
1314 - " 1.6"
15+ - " 1.7"
16+
1417permissions :
1518 contents : read
19+
1620jobs :
1721 build :
18- runs-on : ' ubuntu-22.04 '
22+ runs-on : ' ubuntu-latest '
1923 strategy :
2024 fail-fast : false
2125 matrix :
22- # Alas, JDK14 can't be yet used while build is for Java 6
26+ # 26-Sep-2025, tatu: some test failures on 21 cannot yet enable
2327 java_version : ['8', '11', '17']
2428 env :
2529 JAVA_OPTS : " -XX:+TieredCompilation -XX:TieredStopAtLevel=1"
2630 steps :
27- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+ - uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2832 - name : Set up JDK
29- uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
33+ uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
3034 with :
3135 distribution : " temurin"
3236 java-version : ${{ matrix.java_version }}
3337 cache : ' maven'
3438 - name : Build
3539 run : ./mvnw -B -ff -ntp clean verify
3640 - name : Generate code coverage
37- if : github.event_name != 'pull_request' && matrix.java_version == '8'
41+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
3842 run : ./mvnw -B -q -ff -ntp test
3943 - name : Publish code coverage
40- if : github.event_name != 'pull_request' && matrix.java_version == '8'
41- uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
44+ if : ${{ github.event_name != 'pull_request' && matrix.java_version == '8' }}
45+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
4246 with :
4347 token : ${{ secrets.CODECOV_TOKEN }}
44- file : ./target/site/jacoco/jacoco.xml
48+ files : ./target/site/jacoco/jacoco.xml
4549 flags : unittests
0 commit comments