File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 7474 - name : Run Gosec Security Scanner
7575 run : |
7676 export PATH=$PATH:$(go env GOPATH)/bin
77- go install github.com/securego/gosec/v2/cmd/gosec@latest
77+ go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0
7878 ./run_gosec.sh
7979 if [[ $? != 0 ]]
8080 then
Original file line number Diff line number Diff line change 33
44if ! command -v gosec 2> /dev/null
55then
6- echo " error gosec must be installed with this command: go install github.com/securego/gosec/v2/cmd/gosec@latest " && exit 1
6+ echo " error gosec must be installed with this command: go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0 " && exit 1
77fi
88
99gosec -no-fail -fmt=sarif -out=gosec.sarif -exclude-dir test -exclude-dir generator ./...
You can’t perform that action at this time.
0 commit comments