File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -37,16 +37,17 @@ jobs:
3737
3838 sudo ./release/http-downloader_linux_amd64/hd install ks
3939 ks version
40- - name : Upload Artifact for darwin
41- uses : actions/upload-artifact@v2
40+ - name : Run Trivy vulnerability scanner
41+ uses :
aquasecurity/[email protected] 42+ if : github.event_name == 'pull_request'
4243 with :
43- name : hd-darwin-amd64
44- path : release/hd-darwin-amd64.tar.gz
45- - name : Upload Artifact for linux
46- uses : actions/upload-artifact@v2
47- with :
48- name : hd-linux-amd64
49- path : release/hd-linux-amd64.tar.gz
44+ scan-type : ' fs '
45+ format : ' table '
46+ exit-code : ' 1 '
47+ ignore-unfixed : true
48+ vuln-type : ' os,library '
49+ severity : ' CRITICAL,HIGH '
50+
5051 GoLint :
5152 name : Lint
5253 runs-on : ubuntu-20.04
You can’t perform that action at this time.
0 commit comments