Skip to content

Commit 5d0ec68

Browse files
authored
Java 21 + spotless plugin (#40)
--------- Signed-off-by: Attila Mészáros <[email protected]>
1 parent 0f00d96 commit 5d0ec68

File tree

2 files changed

+205
-262
lines changed

2 files changed

+205
-262
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,23 @@ jobs:
2121
uses: actions/setup-java@v4
2222
with:
2323
distribution: temurin
24-
java-version: 17
24+
java-version: 21
2525
cache: 'maven'
2626
- name: Check code format
2727
run: |
28-
./mvnw ${MAVEN_ARGS} formatter:validate -Dconfigfile=$PWD/contributing/eclipse-google-style.xml
29-
./mvnw ${MAVEN_ARGS} impsort:check
28+
./mvnw ${MAVEN_ARGS} spotless:check --file pom.xml
3029
- name: Run unit tests
3130
run: ./mvnw ${MAVEN_ARGS} clean install
3231

3332
build_with_integration_tests:
3433
runs-on: ubuntu-latest
35-
strategy:
36-
matrix:
37-
java: [ 17 ]
38-
kubernetes: [ 'v1.26.12', 'v1.27.9', 'v1.28.5' ]
3934
steps:
4035
- uses: actions/checkout@v4
4136
- name: Set up Java and Maven
4237
uses: actions/setup-java@v4
4338
with:
4439
distribution: temurin
45-
java-version: ${{ matrix.java }}
40+
java-version: 21
4641
cache: 'maven'
4742
- name: Run integration tests
4843
run: ./mvnw ${MAVEN_ARGS} clean install

0 commit comments

Comments
 (0)