File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
---
7
7
8
- name : .NET Snyk Code analysis
8
+ name : Snyk Code analysis (.NET)
9
9
10
10
on : # yamllint disable-line rule:truthy
11
11
push :
@@ -22,13 +22,19 @@ jobs:
22
22
- name : Setup .NET
23
23
uses : actions/setup-dotnet@v4
24
24
with :
25
- dotnet-version : 8.0.x
25
+ dotnet-version : 8.0.7
26
26
- name : Restore dependencies
27
27
run : dotnet restore algorithm-exercises-csharp.sln
28
28
- name : Run Snyk to check for vulnerabilities
29
29
run : >
30
30
snyk test
31
31
algorithm-exercises-csharp/
32
+ algorithm-exercises-csharp-base/
32
33
algorithm-exercises-csharp-test/
34
+ --sarif-file-output=snyk-code.sarif
33
35
env :
34
36
SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
37
+ - name : Upload result to GitHub Code Scanning
38
+ uses : github/codeql-action/upload-sarif@v3
39
+ with :
40
+ sarif_file : ' snyk-code.sarif'
You can’t perform that action at this time.
0 commit comments