Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
samatstariongroup committed Aug 15, 2024
1 parent b74dba6 commit 2c74edd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/nuget-reference-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ jobs:

- name: Checking NuGet vulnerabilites
run: |
dotnet list CDP4-SDK.sln package --outdated --include-transitive 2>&1 | tee build.log
set -e
dotnet list CDP4-SDK.sln package --outdated --include-transitive
dotnet list CDP4-SDK.sln package --deprecated --include-transitive 2>&1 | tee -a build.log
dotnet list CDP4-SDK.sln package --deprecated --include-transitive
dotnet list CDP4-SDK.sln package --vulnerable --include-transitive 2>&1 | tee -a build.log
dotnet list CDP4-SDK.sln package --vulnerable --include-transitive 2>&1 | tee vulnerabilities.log
echo "Analyze dotnet list package command log output..."
grep -q -i "\bcritical\b\|\bhigh\b\|\bmoderate\b\|\blow\b" build.log;
Expand Down

0 comments on commit 2c74edd

Please sign in to comment.