Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,12 +330,10 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Build and install modules
run: ./mvnw clean install -DskipTests -B

- name: Run OWASP Dependency Check
- name: Build modules and run dependency check
run: |
./mvnw org.owasp:dependency-check-maven:check \
./mvnw clean install org.owasp:dependency-check-maven:check \
-DskipTests \
-DnvdApiKey=${{ secrets.NVD_API_KEY }} \
-B || echo "Dependency check completed with warnings"

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build and install modules
run: ./mvnw clean install -DskipTests -B
- name: Run OWASP Dependency Check
- name: Build modules and run dependency check
run: |
./mvnw org.owasp:dependency-check-maven:check \
./mvnw clean install org.owasp:dependency-check-maven:check \
-DskipTests \
-Dformat=ALL -DfailBuildOnCVSS=7 \
-DnvdApiKey=${{ secrets.NVD_API_KEY }} -B
- name: Upload reports
Expand Down