Skip to content

Commit f077502

Browse files
chore: Add Java 25 to CI build matrix with conditional Spotless skip
- Added Java 25 to the test matrix alongside Java 17 and 21 - Skip Spotless checks when running on Java 25 due to Palantir Java Format incompatibility - Java 25 will run all tests but bypass code formatting validation
1 parent 631933e commit f077502

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/main.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
java: [17, 21]
21+
java: [17, 21, 25]
2222

2323
steps:
2424
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -35,7 +35,11 @@ jobs:
3535

3636
- name: Test and Build with Gradle
3737
run: |
38-
./gradlew build test-integration
38+
if [ "${{ matrix.java }}" = "25" ]; then
39+
./gradlew build test-integration -x spotlessCheck -x spotlessJavaCheck
40+
else
41+
./gradlew build test-integration
42+
fi
3943
4044
- if: matrix.java == 17
4145
name: Upload coverage to Codecov

0 commit comments

Comments
 (0)