diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index 32bc2e5593e..501a7d20942 100755 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -86,9 +86,9 @@ GO_VERSION=$(grep '^go' go.mod | cut -d' ' -f2) WORKSPACE=$(git rev-parse --show-toplevel) export GO_VERSION WORKSPACE get_os_details -retry 5 curl -sL -o ${WORKSPACE}/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.5.1/gvm-${OS_NAME}-${OS_ARCH}" +retry 5 curl -sL -o ${WORKSPACE}/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-${OS_NAME}-${OS_ARCH}" chmod +x ${WORKSPACE}/gvm -eval "$(${WORKSPACE}/gvm --url=https://go.dev/dl $GO_VERSION)" +eval "$(${WORKSPACE}/gvm $GO_VERSION)" echo "Golang version:" go version GOPATH=$(command go env GOPATH) diff --git a/.ci/scripts/bench.sh b/.ci/scripts/bench.sh index 5015edb74fc..e2e5302479c 100755 --- a/.ci/scripts/bench.sh +++ b/.ci/scripts/bench.sh @@ -173,10 +173,10 @@ if [ "${CI}" == "true" ] ; then GO_VERSION=$(grep '^go' go.mod | cut -d' ' -f2) OS_NAME=linux OS_ARCH=amd64 - retry 5 curl -sL -o "${BASE_PROJECT}"/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-${OS_NAME}-${OS_ARCH}" + retry 5 curl -sL -o "${BASE_PROJECT}"/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-${OS_NAME}-${OS_ARCH}" chmod +x "${BASE_PROJECT}"/gvm - retry 5 "${BASE_PROJECT}"/gvm install --url=https://go.dev/dl "$GO_VERSION" - eval "$("${BASE_PROJECT}"/gvm use --url=https://go.dev/dl "$GO_VERSION")" + retry 5 "${BASE_PROJECT}"/gvm install "$GO_VERSION" + eval "$("${BASE_PROJECT}"/gvm use "$GO_VERSION")" echo "Golang version:" go version GOPATH=$(command go env GOPATH)