Skip to content

Commit 8598035

Browse files
authored
all: Bump minimum Go version to 1.19 (#266)
Reference: #265 Regenerated Protocol Buffers with protoc-gen-go and protoc-gen-go-grpc built on Go 1.19+
1 parent 6f36059 commit 8598035

File tree

8 files changed

+40
-31
lines changed

8 files changed

+40
-31
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kind: NOTES
2+
body: 'all: This Go module has been updated to Go 1.19 per the [Go support policy](https://go.dev/doc/devel/release#policy).
3+
It is recommended to review the [Go 1.19 release notes](https://go.dev/doc/go1.19)
4+
before upgrading. Any consumers building on earlier Go versions may experience errors.'
5+
time: 2023-02-28T13:04:01.29554-05:00
6+
custom:
7+
Issue: "266"

.github/workflows/ci-protobuf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
- name: git diff
3838
run: |
3939
git diff --compact-summary --exit-code || \
40-
(echo; echo "Unexpected difference in directories after code generation. Run 'protoc' command and commit."; exit 1)
40+
(echo; git diff; echo; echo "Unexpected difference in directories after code generation. Run 'protoc' command and commit."; exit 1)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ is unsupported by the Terraform Plugin SDK team.
3333

3434
This project follows 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 project.
3535

36-
Currently, that means Go **1.18** or later must be used when including this project as a dependency.
36+
Currently, that means Go **1.19** or later must be used when including this project as a dependency.
3737

3838
## Getting Started
3939

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/hashicorp/terraform-plugin-go
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/google/go-cmp v0.5.9

tfprotov5/internal/tfplugin5/tfplugin5.pb.go

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tfprotov6/internal/tfplugin6/tfplugin6.pb.go

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)