diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 025953db..032f1ada 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -49,7 +49,7 @@ jobs: run: | go get -v -t -d ./... if [ -f Gopkg.toml ]; then - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh + curl -sSfL https://raw.githubusercontent.com/golang/dep/v0.5.4/install.sh | env DEP_RELEASE_TAG=v0.5.4 sh dep ensure fi diff --git a/scripts/devtools.sh b/scripts/devtools.sh index 0eafc4f9..f84a365d 100755 --- a/scripts/devtools.sh +++ b/scripts/devtools.sh @@ -1,5 +1,5 @@ #!/bin/sh set -ex go mod download golang.org/x/tools@latest -curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.11.3 -curl -sSfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s v2.22.11 \ No newline at end of file +curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/v2.11.3/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.11.3 +curl -sSfL https://raw.githubusercontent.com/securego/gosec/v2.22.11/install.sh | sh -s v2.22.11 \ No newline at end of file