From 1c920de71d4e07bd7a29700cdffd4e6b319f95c3 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 20 May 2023 00:37:22 +0800 Subject: [PATCH] feat: bump Go to 1.20 to resolve MacOS DNS resolution issues (#342) * feat: bump the go version Bumping the go version ensures that MacOS DNS is resolved correctly as per https://go-review.googlesource.com/c/go/+/446178. Resolves: #341 * bump go version in /tools and in readme --------- Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com> --- Makefile | 2 +- README.md | 2 +- go.mod | 2 +- tools/go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c7ffe39a..b1f29511 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ GOFMT_FILES?=$$(find . -name '*.go' | grep -v vendor) NAME=terraform-provider-proxmox TARGETS=darwin linux windows TERRAFORM_PLUGIN_EXTENSION= -VERSION=0.19.1# x-release-please-version +VERSION=0.19.2# x-release-please-version ifeq ($(OS),Windows_NT) TERRAFORM_PLATFORM=windows_amd64 diff --git a/README.md b/README.md index 0fd23059..887c58a7 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ other enhancements. ## Requirements - [Terraform](https://www.terraform.io/downloads.html) 1.2+ -- [Go](https://golang.org/doc/install) 1.19+ (to build the provider plugin) +- [Go](https://golang.org/doc/install) 1.20+ (to build the provider plugin) - [GoReleaser](https://goreleaser.com/install/) v1.15+ (to build the provider plugin) ## Table of Contents diff --git a/go.mod b/go.mod index ebf7deed..a4387545 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/bpg/terraform-provider-proxmox -go 1.19 +go 1.20 require ( github.com/google/go-querystring v1.1.0 diff --git a/tools/go.mod b/tools/go.mod index 6c1cb4a6..5904224f 100644 --- a/tools/go.mod +++ b/tools/go.mod @@ -1,6 +1,6 @@ module github.com/golang-templates/seed/build -go 1.19 +go 1.20 require ( github.com/golangci/golangci-lint v1.52.2