Skip to content

Commit

Permalink
update circleci config, using golang 1.16.6 #2789 (#2791)
Browse files Browse the repository at this point in the history
Co-authored-by: dustinxie <dahuaxie@gmail.com>
  • Loading branch information
millken and dustinxie committed Sep 20, 2021
1 parent f245109 commit c1cea44
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

build_test_docker:
docker:
- image: circleci/golang:1.14.4
- image: cimg/go:1.16.6
working_directory: ~/apps/iotex-core
resource_class: medium
steps:
Expand All @@ -40,10 +40,10 @@ jobs:
steps:
- checkout
- run:
name: install golang 1.14.4
name: install golang 1.16.6
command: |
curl -o go1.14.4.darwin-amd64.tar.gz https://dl.google.com/go/go1.14.4.darwin-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.14.4.darwin-amd64.tar.gz
curl -o go1.16.6.darwin-amd64.tar.gz https://dl.google.com/go/go1.16.6.darwin-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.16.6.darwin-amd64.tar.gz
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
Expand Down Expand Up @@ -73,11 +73,11 @@ jobs:
steps:
- checkout
- run:
name: clean go 1.9 update golang 1.14.4
name: clean go 1.9 update golang 1.16.6
command: |
wget https://dl.google.com/go/go1.14.4.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.16.6.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -zxf go1.14.4.linux-amd64.tar.gz
sudo tar -C /usr/local -zxf go1.16.6.linux-amd64.tar.gz
- restore_cache:
keys:
- go-mod-v1-{{ checksum "go.sum" }}
Expand All @@ -99,7 +99,7 @@ jobs:
docker:
# specify the version
# - image: iotex/iotex-core-ci:latest
- image: circleci/golang:${GOLANG_VERSION}
- image: cimg/go:${GOLANG_VERSION}

working_directory: ~/iotex-core
steps:
Expand All @@ -109,7 +109,7 @@ jobs:

nightly_bin_build_docker:
docker:
- image: circleci/golang:${GOLANG_VERSION}
- image: cimg/go:${GOLANG_VERSION}

working_directory: ~/iotex-core
steps:
Expand Down

0 comments on commit c1cea44

Please sign in to comment.