Skip to content

Commit 632a805

Browse files
committed
👷
1 parent c0a4215 commit 632a805

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/snyk.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: snyk
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
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

Comments
 (0)