Skip to content

Commit 1952ced

Browse files
committed
Bump experimental matrix to JDK23
1 parent 99a7de7 commit 1952ced

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

.github/workflows/java-ea-maven.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,30 +14,35 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
java: [ 21 ]
18-
os: [ ubuntu-latest, macos-latest ]
17+
java: [ 23 ]
18+
os:
19+
- ubuntu-latest # Linux x64
20+
- ubuntu-24.04-arm # Linux arm64
21+
- macos-latest # macOS arm64
1922

2023
name: JDK${{ matrix.java }} on ${{ matrix.os }}
2124
runs-on: ${{ matrix.os }}
2225

2326
steps:
24-
- name: Checkout source code
25-
uses: actions/checkout@v4
27+
- name: Checkout and Setup Maven
28+
2629
with:
27-
submodules: true
28-
fetch-depth: 0
30+
checkout-submodules: true
31+
checkout-fetch-depth: 0
32+
java-distribution: 'temurin'
33+
java-version: ${{ matrix.java }}
2934

30-
- name: Setup Java
31-
uses: actions/setup-java@v4
35+
- name: Pre-download dependencies with Maven
36+
uses: nick-fields/retry@v3
3237
with:
33-
distribution: 'temurin'
34-
java-version: ${{ matrix.java }}
35-
cache: 'maven'
38+
command: mvn -U dependency:go-offline
39+
max_attempts: 3
40+
timeout_minutes: 5
3641

3742
- name: Build and (headless) test with Maven (Linux)
3843
if: ${{ runner.os == 'Linux' }}
39-
run: xvfb-run mvn -U verify
44+
run: xvfb-run mvn verify
4045

4146
- name: Build and (headless) test with Maven (Windows and macOS)
4247
if: ${{ runner.os != 'Linux' }}
43-
run: mvn -U verify
48+
run: mvn verify

0 commit comments

Comments
 (0)