Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .buildkite/hooks/pre-command
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions .ci/scripts/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down