Skip to content
Open
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
10 changes: 9 additions & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,15 @@ jobs:
run: dotnet tool install -g nbgv
- name: Set Version
run: nbgv cloud

- name: Checking Vulnerable Nuget Packages
run: |
$outout = dotnet list package --vulnerable --include-transitive 2>&1 | tee build.log
echo "Analyze dotnet vulnerable nuget package command log output..."
echo $output
if ($output -match "critical|high|moderate|low") {
Write-Host "Security Vulnerabilities found in Nuget Packages on the log output"
exit 1
}
- name: Build
run: dotnet build --configuration Release --no-restore

Expand Down
Loading