From 99a74fa032730dde41e2a2972bc331410104e616 Mon Sep 17 00:00:00 2001 From: Yusuke Kuoka Date: Tue, 3 Dec 2024 05:15:59 +0000 Subject: [PATCH] Unpin golangci-lint and use latest on local runs --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index c6d6094..cf899f1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -GOLANGCI_LINT_VERSION=1.56.2 - GO_BUILD_VERSION_LDFLAGS=-X main.Version=$(shell git rev-parse --short HEAD) .PHONY: build @@ -8,7 +6,7 @@ build: .PHONY: lint lint: - docker run --rm -v $(shell pwd):/app -v ~/.cache/golangci-lint/v$(GOLANGCI_LINT_VERSION):/root/.cache -w /app golangci/golangci-lint:v$(GOLANGCI_LINT_VERSION) golangci-lint run -v --timeout=5m + docker run --rm -v $(shell pwd):/app -v ~/.cache/golangci-lint/aws-checker:/root/.cache -w /app golangci/golangci-lint:latest golangci-lint run -v --timeout=5m .PHONY: test test: