diff options
-rw-r--r-- | .github/workflows/maven.yml | 22 |
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 |