From: Ward Vandewege Date: Wed, 5 Jan 2022 16:56:03 +0000 (-0500) Subject: Remove deprecated use of `go get` from run-tests.sh. This should solve X-Git-Tag: 2.4.0~124 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/98d63ca62daada9803edfdd5ad72304cae19b92c Remove deprecated use of `go get` from run-tests.sh. This should solve the occasional surprise modifications of go.mod/go.sum. No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- diff --git a/build/run-tests.sh b/build/run-tests.sh index d318bc60de..5dba59b758 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -644,7 +644,7 @@ initialize() { install_env() { go mod download || fatal "Go deps failed" - which goimports >/dev/null || go get golang.org/x/tools/cmd/goimports || fatal "Go setup failed" + which goimports >/dev/null || go install golang.org/x/tools/cmd/goimports@latest || fatal "Go setup failed" setup_virtualenv "$VENV3DIR" . "$VENV3DIR/bin/activate"