diff --git a/.circleci/config.yml b/.circleci/config.yml index 541233a..9259266 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,20 +10,15 @@ jobs: xcode: "10.2.1" environment: GOPATH: /Users/distiller/go - GOROOT: /Users/distiller/gosrc/go + GOROOT: /usr/local/go steps: - checkout - run: name: install golang command: | - export GOROOT=/usr/local/go - export PATH=$PATH:$GOROOT/bin:$GOPATH/bin curl -L -o go1.14.2.darwin-amd64.tar.gz https://dl.google.com/go/go1.14.2.darwin-amd64.tar.gz sudo tar -C /usr/local -xzf go1.14.2.darwin-amd64.tar.gz - cd ~ && mkdir gosrc && cd gosrc - git clone https://github.com/textileio/go.git && cd go - git checkout sander/ptrace-hackery - cd src && ./all.bash + mkdir -p $GOPATH/bin - restore_cache: key: go-mod-v1-{{ checksum "go.sum" }}-{{ arch }} - run: