From 98d63ca62daada9803edfdd5ad72304cae19b92c Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Wed, 5 Jan 2022 11:56:03 -0500 Subject: [PATCH] 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 --- build/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2