#1049 Migrate developer documentation to main repository #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: OWASP Dependency Check | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
depCheck: | |
name: OWASP Dependency Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- name: Prepare for dependency check | |
run: mvn clean install -DskipTests -P ci | |
- name: Analyze dependencies | |
run: mvn dependency-check:check -Dowasp.skip=false -DnvdApiKey=${{ secrets.NVD_API_KEY }} -P ci | |
- name: Archive dependency reports | |
uses: actions/upload-artifact@v2 | |
if: always() | |
with: | |
name: dependency-check-report | |
path: /hartshorn-*/target/dependency-check-report.html |