From 8a0abe55e1777f58ccb3fc9d1f170d7878f44184 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Tue, 10 Sep 2024 07:54:09 -0400 Subject: [PATCH] all: Bump minimum Go module version to 1.22 (#357) * all: Bump minimum Go module version to 1.22 * add changelog --- .changes/unreleased/NOTES-20240910-073237.yaml | 6 ++++++ .golangci.yml | 2 +- README.md | 2 +- go.mod | 4 +--- tools/go.mod | 2 +- 5 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 .changes/unreleased/NOTES-20240910-073237.yaml diff --git a/.changes/unreleased/NOTES-20240910-073237.yaml b/.changes/unreleased/NOTES-20240910-073237.yaml new file mode 100644 index 00000000..26e22d04 --- /dev/null +++ b/.changes/unreleased/NOTES-20240910-073237.yaml @@ -0,0 +1,6 @@ +kind: NOTES +body: 'all: This release introduces no functional changes. It does however include + dependency updates which address upstream CVEs.' +time: 2024-09-10T07:32:37.459298-04:00 +custom: + Issue: "357" diff --git a/.golangci.yml b/.golangci.yml index 716733a5..31b69cbf 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,6 +13,7 @@ linters: - godot - gofmt - gosimple + - govet - ineffassign - makezero - misspell @@ -23,7 +24,6 @@ linters: - unconvert - unparam - unused - - vet run: # Prevent false positive timeouts in CI diff --git a/README.md b/README.md index bbf4dc14..1d2b655a 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The external provider is a special provider that exists to provide an interface ## Requirements * [Terraform](https://www.terraform.io/downloads) -* [Go](https://go.dev/doc/install) (1.21) +* [Go](https://go.dev/doc/install) (1.22) * [GNU Make](https://www.gnu.org/software/make/) * [golangci-lint](https://golangci-lint.run/usage/install/#local-installation) (optional) diff --git a/go.mod b/go.mod index dc3270ef..a0b77e02 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/terraform-providers/terraform-provider-external -go 1.21 - -toolchain go1.21.6 +go 1.22.7 require ( github.com/hashicorp/terraform-plugin-framework v1.11.0 diff --git a/tools/go.mod b/tools/go.mod index 9d6645cc..42ba5616 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module tools -go 1.21 +go 1.22.7 require ( github.com/hashicorp/copywrite v0.19.0