Skip to content

Commit 879a061

Browse files
committed
deps: bump gvm dependency to 0.6.0
it uses the official Go downloads API
1 parent 832a441 commit 879a061

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.buildkite/hooks/pre-command

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ GO_VERSION=$(grep '^go' go.mod | cut -d' ' -f2)
8080
WORKSPACE=$(git rev-parse --show-toplevel)
8181
export GO_VERSION WORKSPACE
8282
get_os_details
83-
retry 5 curl -sL -o ${WORKSPACE}/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.5.1/gvm-${OS_NAME}-${OS_ARCH}"
83+
retry 5 curl -sL -o ${WORKSPACE}/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-${OS_NAME}-${OS_ARCH}"
8484
chmod +x ${WORKSPACE}/gvm
85-
eval "$(${WORKSPACE}/gvm --url=https://go.dev/dl $GO_VERSION)"
85+
eval "$(${WORKSPACE}/gvm $GO_VERSION)"
8686
echo "Golang version:"
8787
go version
8888
GOPATH=$(command go env GOPATH)

.ci/scripts/bench.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ if [ "${CI}" == "true" ] ; then
173173
GO_VERSION=$(grep '^go' go.mod | cut -d' ' -f2)
174174
OS_NAME=linux
175175
OS_ARCH=amd64
176-
retry 5 curl -sL -o "${BASE_PROJECT}"/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.5.2/gvm-${OS_NAME}-${OS_ARCH}"
176+
retry 5 curl -sL -o "${BASE_PROJECT}"/gvm "https://github.com/andrewkroh/gvm/releases/download/v0.6.0/gvm-${OS_NAME}-${OS_ARCH}"
177177
chmod +x "${BASE_PROJECT}"/gvm
178-
retry 5 "${BASE_PROJECT}"/gvm install --url=https://go.dev/dl "$GO_VERSION"
179-
eval "$("${BASE_PROJECT}"/gvm use --url=https://go.dev/dl "$GO_VERSION")"
178+
retry 5 "${BASE_PROJECT}"/gvm install "$GO_VERSION"
179+
eval "$("${BASE_PROJECT}"/gvm use "$GO_VERSION")"
180180
echo "Golang version:"
181181
go version
182182
GOPATH=$(command go env GOPATH)

0 commit comments

Comments
 (0)