Skip to content

Commit

Permalink
Use Go 1.16 for building Terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Jun 23, 2021
1 parent 8ef6202 commit df154fb
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ commands:
win_install_go:
steps:
- run:
command: choco install golang --version 1.14.6 --yes
command: choco install golang --version 1.16.4 --yes
- run:
command: go version
macos_install_go:
Expand Down Expand Up @@ -92,11 +92,11 @@ jobs:
steps:
- checkout
- go_test
go115_test_main:
go116_test_main:
environment:
TFEXEC_E2ETEST_VERSIONS: refs/heads/main
docker:
- image: circleci/golang:1.15
- image: circleci/golang:1.16
parameters:
test_results:
type: string
Expand Down Expand Up @@ -125,7 +125,12 @@ jobs:
- db:cf:97:b8:d6:ac:86:74:96:e1:54:e4:bc:27:2b:d0
- checkout
- run: ./scripts/release/release.sh

go116_build:
docker:
- image: circleci/golang:1.16
steps:
- checkout
- go_build
workflows:
version: 2
pr:
Expand All @@ -145,7 +150,7 @@ workflows:
- go115_test:
requires:
- go115_build
- go115_test_main:
- go116_test_main:
requires:
- go115_build
- go115_vet:
Expand Down Expand Up @@ -199,9 +204,9 @@ workflows:
branches:
only:
- main
- go115_test_main:
- go116_test_main:
requires:
- go115_build
- go116_build
filters:
branches:
only:
Expand All @@ -220,7 +225,11 @@ workflows:
branches:
only:
- main

- go116_build:
filters:
branches:
only:
- main
- trigger-release:
filters:
branches:
Expand All @@ -238,7 +247,7 @@ workflows:
- go113_build
- go114_test
- go115_test
- go115_test_main
- go116_test_main
- go115_vet
- go115_fmt
- winbuildtest
Expand Down Expand Up @@ -287,7 +296,7 @@ workflows:
template: basic_fail_1
requires:
- go115_build
- go115_test_main:
- go116_test_main:
post-steps:
- slack/notify:
event: fail
Expand Down

0 comments on commit df154fb

Please sign in to comment.