diff --git a/.github/workflows/dependency-check.yml b/.github/workflows/dependency-check.yml index f22b30c..10172f3 100644 --- a/.github/workflows/dependency-check.yml +++ b/.github/workflows/dependency-check.yml @@ -34,7 +34,7 @@ jobs: - name: Run org.owasp:dependency-check plugin id: dependency-check continue-on-error: true - run: mvn -B verify -Pdependency-check -DskipTests + run: mvn -B validate -Pdependency-check env: NVD_API_KEY: ${{ secrets.NVD_API_KEY }} - name: Upload report on failure diff --git a/pom.xml b/pom.xml index 380f4c5..b57e53f 100644 --- a/pom.xml +++ b/pom.xml @@ -182,7 +182,10 @@ dependency-check-maven ${dependency-check.version} + 24 6 + true + true ${env.NVD_API_KEY} @@ -190,6 +193,7 @@ check + validate