Skip to content

Commit 415043f

Browse files
ci: add scheduled JDK compatibility matrix workflow for Java 22, 23, 24, 25-ea
1 parent 8a3bd3a commit 415043f

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: JDK Compatibility Matrix
2+
3+
on:
4+
schedule:
5+
# Run every Sunday at 00:00 UTC
6+
- cron: '0 0 * * 0'
7+
workflow_dispatch:
8+
# Allows manual triggering
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
compat-test:
15+
runs-on: ubuntu-latest
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
java-version: [ 22, 23, 24 ]
20+
distribution: [ 'temurin' ]
21+
include:
22+
# Also test the upcoming JDK 25 Early Access
23+
- java-version: '25-ea'
24+
distribution: 'oracle'
25+
26+
name: Java ${{ matrix.java-version }} (${{ matrix.distribution }})
27+
steps:
28+
- uses: actions/checkout@v7
29+
30+
- name: Set up JDK ${{ matrix.java-version }}
31+
uses: actions/setup-java@v5
32+
with:
33+
java-version: ${{ matrix.java-version }}
34+
distribution: ${{ matrix.distribution }}
35+
36+
- name: Build and Test with Maven
37+
run: mvn --batch-mode --update-snapshots verify

0 commit comments

Comments
 (0)