Skip to content

Commit

Permalink
update snyk action
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienWehrle committed Nov 23, 2024
1 parent cce6f1a commit df5f604
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
os: ["ubuntu-latest"]
steps:
- uses: actions/checkout@v4
- uses: snyk/actions/setup@master
- uses: snyk/actions/node@master
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: test
Expand Down Expand Up @@ -61,9 +61,7 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Run Snyk to check for vulnerabilities
run: |
pip install -r dev-requirements.txt
snyk test --file=dev-requirements.txt --package-manager=pip --severity-threshold=high
uses: snyk/actions/node@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit df5f604

Please sign in to comment.