Skip to content

Commit

Permalink
Update to use Go 1.15.
Browse files Browse the repository at this point in the history
With the release of Go 1.16, we now only support Go 1.15 and higher, as
per our support policy. Update the README to note this and our
automation to use 1.15 instead of 1.16.
  • Loading branch information
paddycarver committed Feb 22, 2021
1 parent 5e366a7 commit 7f9d00d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ commands:
jobs:
"docker-go114 build":
docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.14
- image: docker.mirror.hashicorp.services/circleci/golang:1.15
steps:
- get_dependencies
- run: go build ./...
"docker-go114 test":
docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.14
- image: docker.mirror.hashicorp.services/circleci/golang:1.15
environment:
TF_ACC_TERRAFORM_VERSION: "0.12.26"
parameters:
Expand All @@ -44,19 +44,19 @@ jobs:
path: << parameters.test_results >>
"docker-go114 vet":
docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.14
- image: docker.mirror.hashicorp.services/circleci/golang:1.15
steps:
- get_dependencies
- run: go vet ./...
"docker-go114 gofmt":
docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.14
- image: docker.mirror.hashicorp.services/circleci/golang:1.15
steps:
- get_dependencies
- run: ./scripts/gofmtcheck.sh
"docker-go114 release":
docker:
- image: docker.mirror.hashicorp.services/circleci/golang:1.14
- image: docker.mirror.hashicorp.services/circleci/golang:1.15
steps:
- add_ssh_keys:
fingerprints:
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.9
1.15.8
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ When running provider tests, Terraform 0.12.26 or later is needed for version 2.

The Terraform Plugin SDK is built in Go, and uses the [support policy](https://golang.org/doc/devel/release.html#policy) of Go as its support policy. The two latest major releases of Go are supported by the SDK.

Currently, that means Go **1.14** or later must be used when building a provider with the SDK.
Currently, that means Go **1.15** or later must be used when building a provider with the SDK.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/hashicorp/terraform-plugin-sdk/v2

go 1.14
go 1.15

require (
cloud.google.com/go v0.61.0 // indirect
Expand Down

0 comments on commit 7f9d00d

Please sign in to comment.