fix(ci): fix Snyk CLI cmds
This commit is contained in:
parent
44b35f7066
commit
00a1396085
@ -75,8 +75,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
with:
|
with:
|
||||||
command: code test
|
command: snyk
|
||||||
args: --all-projects --exclude=.archive
|
args: code test --all-projects --exclude=.archive
|
||||||
|
|
||||||
- name: Snyk Vulnerability Scan
|
- name: Snyk Vulnerability Scan
|
||||||
uses: snyk/actions/python@master
|
uses: snyk/actions/python@master
|
||||||
@ -84,8 +84,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||||
with:
|
with:
|
||||||
command: test
|
command: snyk
|
||||||
args: --all-projects --exclude=.archive
|
args: test --all-projects --exclude=.archive
|
||||||
|
|
||||||
- name: Reverse set up environment for Snyk
|
- name: Reverse set up environment for Snyk
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user