We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0a4215 commit 632a805Copy full SHA for 632a805
.github/workflows/snyk.yml
@@ -0,0 +1,37 @@
1
+name: snyk
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
8
9
+jobs:
10
+ security:
11
12
+ runs-on: windows-latest
13
14
+ steps:
15
16
+ - uses: actions/checkout@v4
17
18
+ - name: Setup dotnet
19
+ uses: actions/setup-dotnet@v4
20
+ with:
21
+ dotnet-version: 9.0.x
22
+ architecture: x64
23
24
+ - name: Restore dependencies
25
+ run: dotnet restore
26
27
+ - name: Install Snyk
28
+ run: npm install -g snyk
29
30
+ - name: Authenticate
31
+ run: snyk auth ${{ secrets.SNYK_TOKEN }}
32
33
+ - name: Test
34
+ run: snyk test --all-projects
35
36
+ - name: Monitor
37
+ run: snyk monitor
0 commit comments