File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 74
74
- name : Run Gosec Security Scanner
75
75
run : |
76
76
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
78
78
./run_gosec.sh
79
79
if [[ $? != 0 ]]
80
80
then
Original file line number Diff line number Diff line change 3
3
4
4
if ! command -v gosec 2> /dev/null
5
5
then
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
7
7
fi
8
8
9
9
gosec -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