File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,18 @@ jobs:
7777 # Snyk Scan - SCA
7878 - name : Download Snyk CLI
7979 run : |
80- wget -O snyk-linux https://github.com/snyk/cli/releases/download/v1.1294.3/snyk-linux
81- chmod +x snyk-linux
82- mv snyk-linux $HOME/snyk
83- echo "$HOME" >> $GITHUB_PATH
80+ wget -O snyk https://github.com/snyk/cli/releases/download/v1.1294.3/snyk-linux
81+ chmod +x snyk
82+ sudo mv snyk /usr/local/bin/snyk
8483
85- - name : Run Snyk scan
86- run : snyk monitor --all-projects
84+ - name : Authenticate Snyk CLI
85+ run : snyk auth $SNYK_TOKEN
8786 env :
8887 SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
88+
89+ - name : Run Snyk scan (SCA)
90+ run : snyk monitor --all-projects
91+
8992
9093 # OWASP Dependency-Check
9194 # - name: Install OWASP Dependency-Check CLI
You can’t perform that action at this time.
0 commit comments