Skip to content

Commit

Permalink
Chore: check shasum when installing snyk cli on our workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sandor-trombitas committed Jul 10, 2024
1 parent 4c833bd commit 09bd562
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:

- name: Install Snyk CLI
run: |
curl https://static.snyk.io/cli/latest/snyk-linux -o snyk
chmod +x snyk
sudo mv snyk /usr/local/bin/
curl https://static.snyk.io/cli/latest/snyk-linux -o snyk-linux
curl https://static.snyk.io/cli/latest/snyk-linux.sha256 -o snyk.sha256
sha256sum -c snyk.sha256
chmod +x snyk-linux
sudo mv snyk-linux /usr/local/bin/snyk
- name: Authenticate Snyk CLI
run: |
Expand Down

0 comments on commit 09bd562

Please sign in to comment.