Skip to content

Commit

Permalink
Build Java 23 without spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsteiner1984 committed Oct 21, 2024
1 parent 49e0e9a commit 9ac71d8
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
jdk: ['8', '11', '17', '21', '23']
jdk: ['8', '11', '17', '21']
os: [ubuntu-latest, windows-latest]

steps:
Expand All @@ -30,6 +30,26 @@ jobs:
cache: maven
- name: Build with Maven
run: mvn -B package checkstyle:check spotbugs:check --file pom.xml

build_nospotbugs:
name: Test with Java ${{ matrix.jdk }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
jdk: ['23']
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package checkstyle:check --file pom.xml

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

0 comments on commit 9ac71d8

Please sign in to comment.