Skip to content

Commit dbf4a75

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github-Actions] Snyk Open Source. Modified. Sarif output enabled.
1 parent a2ec641 commit dbf4a75

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/dotnet-snyk.yml renamed to .github/workflows/snyk-code.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
---
77

8-
name: .NET Snyk Code analysis
8+
name: Snyk Code analysis (.NET)
99

1010
on: # yamllint disable-line rule:truthy
1111
push:
@@ -29,6 +29,12 @@ jobs:
2929
run: >
3030
snyk test
3131
algorithm-exercises-csharp/
32+
algorithm-exercises-csharp-base/
3233
algorithm-exercises-csharp-test/
34+
--sarif-file-output=snyk-code.sarif
3335
env:
3436
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'

0 commit comments

Comments
 (0)