Remove deprecated use of `go get` from run-tests.sh. This should solve
[arvados.git] / 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"