From 19d270886e3abc7468d21f11145d75974320f933 Mon Sep 17 00:00:00 2001 From: Jason Cox Date: Mon, 12 Feb 2024 20:04:11 -0500 Subject: lint: update dependencies to work with go v1.22 Linting with golangci-lint and contrib/linters.go both started crashing for me after upgrading go to v1.22.0 from v1.21.7. Bump golangci-lint and golang.org/x/tools to their latest versions to fix this problem. Signed-off-by: Jason Cox Acked-by: Robin Jarry --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 096ccf8c..34e1a592 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -55,7 +55,7 @@ lint: @$(GO) run mvdan.cc/gofumpt@$(gofumpt_tag) -d . | grep ^ \ && echo The above files need to be formatted, please run make fmt && exit 1 \ || echo all files formatted. - $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 run \ + $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.1 run \ $$(echo $(GOFLAGS) | sed s/-tags=/--build-tags=/) $(GO) run $(GOFLAGS) contrib/linters.go ./... -- cgit