diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0f073ff1..0f63804e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -84,6 +84,8 @@ jobs: distribution: temurin - name: Spotless check (fail fast on format violations) run: mvn -B --no-transfer-progress spotless:check + - name: SpotBugs check (fail fast on static-analysis findings) + run: mvn -B --no-transfer-progress -DskipTests -Denforcer.skip=true compile spotbugs:check - name: Print internal package dependency graph (jdeps, informational) continue-on-error: true run: | diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index 94db590c..6cabea32 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -123,27 +123,42 @@ SPDX-License-Identifier: MIT - + + + + +