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