Skip to content

Commit

Permalink
fix: run snyk ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kioqq committed Dec 18, 2023
1 parent e0198c8 commit 68ab3be
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
continue-on-error: true # To make sure that SARIF upload gets called
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v2
- uses: snyk/actions/setup@master
- uses: actions/setup-go@v1
with:
sarif_file: snyk.sarif
go-version: '1.20'
- name: Snyk monitor
run: snyk code test
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 comments on commit 68ab3be

Please sign in to comment.