Skip to content

Commit e5ddeb7

Browse files
committed
Update workflow to JDK24 and move spotless into a separate step
1 parent 4121b28 commit e5ddeb7

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/main.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
java_version:
3030
- 17
3131
- 21
32-
- 23
32+
- 24
3333
include:
3434
- java_version: '17'
3535
mvn_opts: '-Dtinylog.writer.level=info'
3636
experimental: false
3737
- java_version: '21'
3838
mvn_opts: '-Dtinylog.writer.level=info'
3939
experimental: false
40-
- java_version: '23'
40+
- java_version: '24'
4141
mvn_opts: '-Dtinylog.writer.level=info'
4242
experimental: true
4343
runs-on: ubuntu-latest
@@ -94,3 +94,16 @@ jobs:
9494
# Check we only rely on permissive licenses in the main parts of the library:
9595
- name: License Compliance
9696
run: mvn -P compliance org.honton.chas:license-maven-plugin:compliance
97+
98+
spotless:
99+
runs-on: ubuntu-latest
100+
steps:
101+
- uses: actions/checkout@v4
102+
- name: Set up JDK 17
103+
uses: actions/setup-java@v4
104+
with:
105+
java-version: '17'
106+
distribution: 'temurin'
107+
cache: 'maven'
108+
- name: Spotless Check
109+
run: mvn -Pspotless validate

.github/workflows/release.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
- name: release
2727
run: |
2828
mvn -B -U --fail-at-end \
29-
-Dspotless.check.skip=true \
3029
-DskipTests -DskipITs -Psign \
3130
clean deploy
3231
env:

0 commit comments

Comments
 (0)