We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c3509 commit f47e508Copy full SHA for f47e508
.github/workflows/dotnet-snyk.yml
@@ -0,0 +1,26 @@
1
+# This workflow will build a .NET project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3
+
4
+name: .NET Snyk Code analysis
5
6
+on:
7
+ push:
8
+ branches: [ main, develop, feature/* ]
9
+ pull_request:
10
+ branches: [ main ]
11
12
+jobs:
13
+ security:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@master
17
+ - name: Setup .NET
18
+ uses: actions/setup-dotnet@v4
19
+ with:
20
+ dotnet-version: 8.0.x
21
+ - name: Restore dependencies
22
+ run: dotnet restore algorithm-exercises-csharp.sln
23
+ - name: Run Snyk to check for vulnerabilities
24
+ uses: snyk/actions/dotnet@master
25
+ env:
26
+ SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
0 commit comments