Fix CircleCI build failure (#5006)

This commit is contained in:
Yong Tang
2021-11-24 12:36:21 +08:00
committed by GitHub
parent b8439789f4
commit 14e4f96c07

View File

@@ -13,7 +13,7 @@ initWorkingDir: &initWorkingDir
GOROOT=$(go env GOROOT)
sudo rm -r $(go env GOROOT)
sudo mkdir $GOROOT
LATEST=$(curl -s https://golang.org/VERSION?m=text)
LATEST=$(curl -s https://go.dev/VERSION?m=text)
curl https://dl.google.com/go/${LATEST}.linux-amd64.tar.gz | sudo tar xz -C $GOROOT --strip-components=1
integrationDefaults: &integrationDefaults