Skip to content

Commit 5c8cc1a

Browse files
committed
WIP: go get is deprecated..
1 parent 30e0948 commit 5c8cc1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/gosec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
which gosec
44
if [ $? -ne 0 ]; then
55
echo "Downloading gosec tool"
6-
go get -u github.com/securego/gosec/v2/cmd/gosec
6+
go install github.com/securego/gosec/v2/cmd/gosec@v2.9.1
77
fi
88

9-
time GO111MODULE=off gosec -conf gosec.conf.json ./...
9+
time gosec -conf gosec.conf.json ./...

0 commit comments

Comments
 (0)