From a76b2798988bb8173d9f4f989a94183c36d97016 Mon Sep 17 00:00:00 2001 From: Joseph Anttila Hall Date: Wed, 2 Oct 2024 21:49:59 -0700 Subject: [PATCH] Fix lint: upgrade to support go1.22 golangci-lint supports go1.22 since v1.56.0, per https://github.com/golangci/golangci-lint/issues/4273. --- .golangci.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index 8311ea5df..4e6eb506d 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -1,5 +1,5 @@ run: - timeout: 3m + timeout: 5m skip-dirs: - vendor linters: diff --git a/Makefile b/Makefile index 222457b93..721af6e3f 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ endif GOOS ?= $(shell go env GOOS) GOARCH ?= $(shell go env GOARCH) INSTALL_LOCATION:=$(shell go env GOPATH)/bin -GOLANGCI_LINT_VERSION ?= 1.54.0 +GOLANGCI_LINT_VERSION ?= 1.56.2 GOSEC_VERSION ?= 2.13.1 REGISTRY ?= gcr.io/$(shell gcloud config get-value project)