aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/maven.yml
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2024-10-21 10:18:02 +0100
committerSimon Steiner <ssteiner@apache.org>2024-10-21 10:20:37 +0100
commit9ac71d8d7435a147c1283f641bbab07f777818c7 (patch)
treeb86533574f3444d7242ff3ac78c7468f82b98434 /.github/workflows/maven.yml
parent49e0e9ae69cf96eb4c13527b271c8a70a5f5f843 (diff)
downloadxmlgraphics-fop-9ac71d8d7435a147c1283f641bbab07f777818c7.tar.gz
xmlgraphics-fop-9ac71d8d7435a147c1283f641bbab07f777818c7.zip
Build Java 23 without spotbugstemp/ssteiner-java23
Diffstat (limited to '.github/workflows/maven.yml')
-rw-r--r--.github/workflows/maven.yml22
1 files changed, 21 insertions, 1 deletions
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