Skip to content

CircleCI Commit

CircleCI Commit #11

Workflow file for this run

name: Example workflow using Snyk
on: push
jobs:
snyk_scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Snyk CLI
run: |
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: Run Snyk to test project dependencies
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
run: |
snyk test