[ARVADOS] created: 2.1.0-1777-g9e6829577

Git user git at public.arvados.org
Wed Jan 5 16:56:51 UTC 2022


        at  9e6829577d9a92c35ca8082e9e273413584ad55c (commit)


commit 9e6829577d9a92c35ca8082e9e273413584ad55c
Author: Ward Vandewege <ward at curii.com>
Date:   Wed Jan 5 11:56:03 2022 -0500

    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 <ward at curii.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index d318bc60d..5dba59b75 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 at latest || fatal "Go setup failed"
 
     setup_virtualenv "$VENV3DIR"
     . "$VENV3DIR/bin/activate"

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list