From c2b7c6d1b9d496daecbd291184505877505f92b8 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Mon, 9 Sep 2024 10:39:53 -0400 Subject: [PATCH] all: Bump minimum Go module version to 1.22 (#269) --- .golangci.yml | 2 +- go.mod | 4 +--- tools/go.mod | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 8dcbe11..64c7bc2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -11,6 +11,7 @@ linters: - forcetypeassert - gofmt - gosimple + - govet - ineffassign - makezero - misspell @@ -21,7 +22,6 @@ linters: - unconvert - unparam - unused - - vet run: # Prevent false positive timeouts in CI diff --git a/go.mod b/go.mod index 160c63f..8c5c082 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/hashicorp/terraform-provider-corner -go 1.21 - -toolchain go1.21.6 +go 1.22.7 require ( github.com/hashicorp/go-memdb v1.3.4 diff --git a/tools/go.mod b/tools/go.mod index 4a4affd..9938d4c 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