We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d43d0ff commit 04373ecCopy full SHA for 04373ec
2 files changed
.github/workflows/ci.yaml
@@ -74,7 +74,7 @@ jobs:
74
- name: Run Gosec Security Scanner
75
run: |
76
export PATH=$PATH:$(go env GOPATH)/bin
77
- go install github.com/securego/gosec/v2/cmd/gosec@latest
+ go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0
78
./run_gosec.sh
79
if [[ $? != 0 ]]
80
then
run_gosec.sh
@@ -3,7 +3,7 @@
3
4
if ! command -v gosec 2> /dev/null
5
6
- echo "error gosec must be installed with this command: go install github.com/securego/gosec/v2/cmd/gosec@latest" && exit 1
+ echo "error gosec must be installed with this command: go install github.com/securego/gosec/v2/cmd/gosec@v2.14.0" && exit 1
7
fi
8
9
gosec -no-fail -fmt=sarif -out=gosec.sarif -exclude-dir test -exclude-dir generator ./...
0 commit comments