Skip to content

Commit 9ac71d8

Browse files
Build Java 23 without spotbugs
1 parent 49e0e9a commit 9ac71d8

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/maven.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
jdk: ['8', '11', '17', '21', '23']
20+
jdk: ['8', '11', '17', '21']
2121
os: [ubuntu-latest, windows-latest]
2222

2323
steps:
@@ -30,6 +30,26 @@ jobs:
3030
cache: maven
3131
- name: Build with Maven
3232
run: mvn -B package checkstyle:check spotbugs:check --file pom.xml
33+
34+
build_nospotbugs:
35+
name: Test with Java ${{ matrix.jdk }} ${{ matrix.os }}
36+
runs-on: ${{ matrix.os }}
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
jdk: ['23']
41+
os: [ubuntu-latest, windows-latest]
42+
43+
steps:
44+
- uses: actions/checkout@v4
45+
- name: Set up JDK ${{ matrix.jdk }}
46+
uses: actions/setup-java@v3
47+
with:
48+
java-version: ${{ matrix.jdk }}
49+
distribution: 'temurin'
50+
cache: maven
51+
- name: Build with Maven
52+
run: mvn -B package checkstyle:check --file pom.xml
3353

3454
# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
3555
#- name: Update dependency graph

0 commit comments

Comments
 (0)