From: Simon Steiner Date: Mon, 21 Oct 2024 09:18:02 +0000 (+0100) Subject: Build Java 23 without spotbugs X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9ac71d8d7435a147c1283f641bbab07f777818c7;p=xmlgraphics-fop.git Build Java 23 without spotbugs --- diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index d5e426590..2b9e0b760 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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: @@ -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