Skip to content

Commit 9dfc52c

Browse files
authored
Sepcify golang version for mac build (#464)
1 parent 70ae919 commit 9dfc52c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.circleci/config.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
release_linux:
1414
docker:
15-
- image: circleci/golang
15+
- image: circleci/golang:1.15
1616
working_directory: /go/src/github.com/codeclimate/test-reporter
1717
setup_remote_docker:
1818
docker_layer_caching: true
@@ -27,7 +27,12 @@ jobs:
2727
xcode: "11.3.0"
2828
steps:
2929
- checkout
30-
- run: brew install golang
30+
- run:
31+
name: Install go
32+
command: |
33+
curl -O https://dl.google.com/go/go1.15.darwin-amd64.tar.gz
34+
tar -xzf go1.15.darwin-amd64.tar.gz
35+
echo 'export PATH=$PATH:$PWD/go/bin' >> "$BASH_ENV"
3136
- run:
3237
name: Setup gopath
3338
command: |
@@ -48,7 +53,12 @@ jobs:
4853
steps:
4954
- checkout
5055
- run: pip install awscli
51-
- run: brew install golang
56+
- run:
57+
name: Install go
58+
command: |
59+
curl -O https://dl.google.com/go/go1.15.darwin-amd64.tar.gz
60+
tar -xzf go1.15.darwin-amd64.tar.gz
61+
echo 'export PATH=$PATH:$PWD/go/bin' >> "$BASH_ENV"
5262
- run:
5363
name: Setup gopath
5464
command: |

0 commit comments

Comments
 (0)