fix circle-ci curl of go (#261)

This commit is contained in:
Chris O'Haver 2021-12-21 11:54:32 -05:00 committed by GitHub
parent 8e13ce82cc
commit 22cdb6becb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ initWorkingDir: &initWorkingDir
GOROOT=$(go env GOROOT) GOROOT=$(go env GOROOT)
sudo rm -r $(go env GOROOT) sudo rm -r $(go env GOROOT)
sudo mkdir $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 curl https://dl.google.com/go/${LATEST}.linux-amd64.tar.gz | sudo tar xz -C $GOROOT --strip-components=1
integrationDefaults: &integrationDefaults integrationDefaults: &integrationDefaults