@@ -4,26 +4,31 @@ on: [workflow_dispatch, push, pull_request]
44
55permissions : read-all
66
7+ concurrency :
8+ group : ${{ github.workflow }}-${{ github.ref }}
9+ cancel-in-progress : true
10+
711jobs :
812 test :
913 runs-on : ${{ matrix.os }}
14+ timeout-minutes : 30
1015 strategy :
1116 matrix :
1217 cache : [maven]
1318 distribution : [temurin]
14- java : [17, 21, 24, 25 -ea]
15- os : [ubuntu -latest, macos -latest, windows-latest]
19+ java : [17, 21, 25, 26 -ea]
20+ os : [macos -latest, ubuntu -latest, windows-latest]
1621 fail-fast : false
17- max-parallel : 4
22+ max-parallel : 6
1823 name : Test JDK ${{ matrix.java }}, ${{ matrix.os }}
1924
2025 steps :
21- - uses : actions/checkout@v5
22- - name : Set up JDK ${{ matrix.java }} ${{ matrix.distribution }}
23- uses : actions/setup-java@v5
26+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
27+ - name : Setup Java ${{ matrix.java }} ${{ matrix.distribution }}
28+ uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5
2429 with :
25- java-version : ${{ matrix.java }}
26- distribution : ${{ matrix.distribution }}
2730 cache : ${{ matrix.cache }}
31+ distribution : ${{ matrix.distribution }}
32+ java-version : ${{ matrix.java }}
2833 - name : Test with Maven
29- run : ./mvnw test -B -V --no-transfer-progress -D"license.skip=true"
34+ run : ./mvnw test --batch-mode --no-transfer-progress --show-version -D"license.skip=true"
0 commit comments