From 13805cbbc197e61fa75cec48c9b64670a5102d48 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 17 Aug 2022 20:26:52 -0600 Subject: tools: Upgrade to Go 1.19 1. Edit Makefile:goversion 2. Run `make go-mod-tidy` 3. Run `gofmt -s -w .` 4. Look at the ignore-whitespace-change diff and fixup band gofmt changes --- Makefile | 2 +- tools/src/golangci-lint/go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c6cb224..c413091 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ tools/bin/%: tools/src/%/pin.go tools/src/%/go.mod # go mod tidy -goversion = 1.18 +goversion = 1.19 go-mod-tidy: .PHONY: go-mod-tidy diff --git a/tools/src/golangci-lint/go.mod b/tools/src/golangci-lint/go.mod index 691487b..9ad3b12 100644 --- a/tools/src/golangci-lint/go.mod +++ b/tools/src/golangci-lint/go.mod @@ -1,6 +1,6 @@ module local -go 1.18 +go 1.19 require github.com/golangci/golangci-lint v1.47.2 -- cgit v1.1-4-g5e80