Skip to content

Commit b2c23d5

Browse files
committed
edit
1 parent b9046ca commit b2c23d5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/unit-sec-test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,13 @@ jobs:
3636
- name: Install dependencies
3737
run: pip install -r requirements.txt
3838

39-
40-
- name: Run Snyk to check for vulnerabilities
41-
uses: actions/checkout@master
39+
- name: Install Snyk CLI
40+
run: npn install -g snyk
41+
42+
- name: Authenticate with Snyk
43+
run: snyk auth ${{ secrets.SNYK_TOKEN }}
4244
env:
43-
synk_auth: ${{ secrets.SNYK_TOKEN }}
45+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
4446

4547
- name: Snyk Code test
4648
run: snyk code test --sarif > snyk-cide.sarif

0 commit comments

Comments
 (0)