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 434f523
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
- name: Install Snyk CLI
run: |
curl https://static.snyk.io/cli/latest/snyk-linux -o snyk
curl https://static.snyk.io/cli/latest/snyk-linux.sha256 -o snyk.sha256
echo "$(cat snyk.sha256) snyk" | sha256sum -c -
chmod +x snyk
sudo mv snyk /usr/local/bin/
Expand Down

0 comments on commit 434f523

Please sign in to comment.