]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Build Java 23 without spotbugs temp/ssteiner-java23 84/head
authorSimon Steiner <ssteiner@apache.org>
Mon, 21 Oct 2024 09:18:02 +0000 (10:18 +0100)
committerSimon Steiner <ssteiner@apache.org>
Mon, 21 Oct 2024 09:20:37 +0000 (10:20 +0100)
.github/workflows/maven.yml

index d5e426590b57669e6a5dbc4c85262a8fc2616803..2b9e0b7601c9c4cfdf75573cd959a5c9c9a7bc91 100644 (file)
@@ -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