Skip to content

Commit 8b35917

Browse files
committed
ci: support Windows-targeted projects in NuGet audit fallback
1 parent b953906 commit 8b35917

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/dependency-review.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
audit_log="$RUNNER_TEMP/nuget-audit.log"
4444
set +e
4545
dotnet restore ./PtpLabClock.sln \
46+
-p:EnableWindowsTargeting=true \
4647
-p:NuGetAudit=true \
4748
-p:NuGetAuditMode=all 2>&1 | tee "$audit_log"
4849
restore_exit=${PIPESTATUS[0]}
@@ -59,4 +60,7 @@ jobs:
5960
exit 1
6061
fi
6162
62-
dotnet list ./PtpLabClock.sln package --vulnerable --include-transitive
63+
dotnet list ./PtpLabClock.sln package \
64+
--vulnerable \
65+
--include-transitive \
66+
--no-restore

0 commit comments

Comments
 (0)