Remove deprecated use of `go get` from run-tests.sh. This should solve
authorWard Vandewege <ward@curii.com>
Wed, 5 Jan 2022 16:56:03 +0000 (11:56 -0500)
committerWard Vandewege <ward@jhvc.com>
Wed, 5 Jan 2022 18:06:12 +0000 (13:06 -0500)
the occasional surprise modifications of go.mod/go.sum.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

build/run-tests.sh

index d318bc60de5fd233ef225074442f5e50e570ea18..5dba59b758c52bcef49c2854f8a61de9352f6ed8 100755 (executable)
@@ -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"