File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 42
42
dotnet build samples/AspNetCoreSingleLogoutSample/AspNetCoreSingleLogoutSample.csproj -c Release
43
43
msbuild samples/OwinSample/OwinSample.csproj -noLogo -verbosity:minimal -restore -p:Configuration=Release
44
44
msbuild samples/OwinSingleLogoutSample/OwinSingleLogoutSample.csproj -noLogo -verbosity:minimal -restore -p:Configuration=Release
45
+ - name : Scan vulnerable packages
46
+ # https://github.com/dotnet/sdk/issues/16852
47
+ run : |
48
+ dotnet restore
49
+ dotnet list package --vulnerable --include-transitive | tee vulnerable.out
50
+ test `grep -cm 1 'has the following vulnerable packages' vulnerable.out` = 0
45
51
- name : Test
46
52
run : |
47
53
dotnet test --collect:"XPlat Code Coverage"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ appsettings.*.json
4
4
launchSettings.json
5
5
* .db
6
6
log.txt
7
+ vulnerable.out
7
8
# JetBrians Rider
8
9
.idea /
9
10
.run /* .run.xml
You can’t perform that action at this time.
0 commit comments