Skip to content

Commit 47816b1

Browse files
committed
owasp testing
1 parent ce07674 commit 47816b1

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/owasp-dependency-check-dotnet.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ jobs:
1515
steps:
1616
- name: Install Dependency-Check
1717
run: |
18-
wget https://github.com/jeremylong/DependencyCheck/releases/download/v12.1.0/dependency-check-12.1.0-release.zip
19-
unzip dependency-check-12.1.0-release.zip
18+
VERSION=$(curl -s https://dependency-check.github.io/DependencyCheck/current.txt)
19+
wget https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip
20+
unzip dependency-check-$VERSION-release.zip
2021
2122
- name: Run scan
2223
run: |
23-
./dependency-check-12.1.0-release/bin/dependency-check.sh \
24+
./dependency-check-$VERSION-release/bin/dependency-check.sh \
2425
--project "cas-dotnet-sdk" \
2526
--scan . \
2627
--format "HTML" \

0 commit comments

Comments
 (0)