From 82b090ff432d5610300b169868d82fce74d08707 Mon Sep 17 00:00:00 2001 From: Maksim Nabokikh Date: Fri, 22 Dec 2023 11:32:42 +0100 Subject: [PATCH] Bump golangci-lint 1.55.2 (#3232) Signed-off-by: Maksim Nabokikh --- .golangci.yml | 11 +++++------ Makefile | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 1bf6bcff50..7d631ed241 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -5,12 +5,11 @@ run: linters-settings: depguard: - list-type: blacklist - include-go-root: true - packages: - - io/ioutil - packages-with-error-message: - - io/ioutil: "The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead." + rules: + deprecated: + deny: + - pkg: "io/ioutil" + desc: "The 'io/ioutil' package is deprecated. Use corresponding 'os' or 'io' functions instead." gci: local-prefixes: github.com/dexidp/dex goimports: diff --git a/Makefile b/Makefile index 2c4f5f5ff4..eceefca004 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ export GOBIN=$(PWD)/bin LD_FLAGS="-w -X main.version=$(VERSION)" # Dependency versions -GOLANGCI_VERSION = 1.52.0 +GOLANGCI_VERSION = 1.55.2 GOTESTSUM_VERSION ?= 1.9.0 PROTOC_VERSION = 21.12