From 388023af3771d7a5d4550df19988e5f307ba8ba2 Mon Sep 17 00:00:00 2001 From: Orel Misan Date: Sun, 18 Aug 2024 16:56:13 +0300 Subject: [PATCH] Bump linter version Disabled `depguard` since it is problematic since v1.53.0. A follow-up PR should fix the linter's deprication warnings. Signed-off-by: Orel Misan --- .golangci.yml | 1 - Makefile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index fb69f371..851a289a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -56,7 +56,6 @@ linters: disable-all: true enable: - bodyclose - - depguard - dogsled - dupl - errcheck diff --git a/Makefile b/Makefile index 9a4e3ba1..6241dabf 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ GO_IMAGE_TAG := 1.22.5 BIN_DIR = $(CURDIR)/_output/bin CRI_BIN ?= $(shell hack/detect_cri.sh) LINTER_IMAGE_NAME := docker.io/golangci/golangci-lint -LINTER_IMAGE_TAG := v1.50.1 +LINTER_IMAGE_TAG := v1.60.1 GO_MOD_VERSION=$(shell hack/go-mod-version.sh) KUBECONFIG ?= $(HOME)/.kube/config