diff --git a/.golangci.yml b/.golangci.yml index c32adeaa..3f0edd16 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -12,6 +12,7 @@ linters: - godot - gofmt - gosimple + - govet - ineffassign - makezero - misspell @@ -22,7 +23,6 @@ linters: - unconvert - unparam - unused - - vet run: # Prevent false positive timeouts in CI diff --git a/README.md b/README.md index 386edca3..93210176 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ version it implements, and Terraform: ## 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 997fb506..1ebf886f 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/hashicorp/terraform-provider-archive -go 1.21 - -toolchain go1.21.3 +go 1.22.7 require ( github.com/bmatcuk/doublestar/v4 v4.6.1 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