From 6067cb5bbe9546754b41c2f594ac02792bee6bfe Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Tue, 27 Aug 2024 10:53:32 +0200 Subject: [PATCH] Bump `golangci-lint` to 1.60 (#42) --- .github/workflows/lint.yml | 2 +- Makefile | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index af19745..0817360 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,4 +17,4 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v1.57.2 + version: v1.60 diff --git a/Makefile b/Makefile index efd7f20..575bf99 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ vet: ## Run go vet against code. go vet ./... .PHONY: lint -lint: ## Run golangci-lint on the code. +lint: golangci-lint ## Run golangci-lint on the code. $(GOLANGCILINT) run ./... .PHONY: add-license @@ -86,8 +86,8 @@ GOLANGCILINT ?= $(LOCALBIN)/golangci-lint ## Tool Versions ADDLICENSE_VERSION ?= v1.1.1 -GOIMPORTS_VERSION ?= v0.20.0 -GOLANGCILINT_VERSION ?= v1.57.2 +GOIMPORTS_VERSION ?= v0.24.0 +GOLANGCILINT_VERSION ?= v1.60 .PHONY: addlicense addlicense: $(ADDLICENSE) ## Download addlicense locally if necessary.