Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
An example of how to use Go versions newer than v1.6.2 on CircleCI.
GODIST: "go1.7.3.linux-amd64.tar.gz"
- mkdir -p downloads
- test -e download/$GODIST || curl -o download/$GODIST$GODIST
- sudo rm -rf /usr/local/go
- sudo tar -C /usr/local -xzf download/$GODIST
Copy link

devalecs commented Nov 24, 2016

There is a typo in the script, the mkdir command on line #5 should be mkdir -p download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment