Skip to content

Commit

Permalink
Fix lint: upgrade to support go1.22
Browse files Browse the repository at this point in the history
golangci-lint supports go1.22 since v1.56.0, per golangci/golangci-lint#4273.
  • Loading branch information
jkh52 committed Oct 3, 2024
1 parent 78f31c9 commit a76b279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
run:
timeout: 3m
timeout: 5m
skip-dirs:
- vendor
linters:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a76b279

Please sign in to comment.