From 45900bebd1b1b39e9ed1844967da5c2947d6976d Mon Sep 17 00:00:00 2001 From: Yuval Kashtan Date: Mon, 25 Oct 2021 10:50:31 +0300 Subject: [PATCH] WIP: go get is deprecated.. --- hack/gosec.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/gosec.sh b/hack/gosec.sh index 191dbe3bb..69ef42b0a 100755 --- a/hack/gosec.sh +++ b/hack/gosec.sh @@ -3,7 +3,7 @@ which gosec if [ $? -ne 0 ]; then echo "Downloading gosec tool" - go get -u github.com/securego/gosec/v2/cmd/gosec + go install github.com/securego/gosec/v2/cmd/gosec@v2.9.1 fi -time GO111MODULE=off gosec -conf gosec.conf.json ./... +time gosec -conf gosec.conf.json ./...