Skip to content

Commit

Permalink
Unpin golangci-lint and use latest on local runs
Browse files Browse the repository at this point in the history
  • Loading branch information
mumoshu committed Dec 3, 2024
1 parent f0aa938 commit 99a74fa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 99a74fa

Please sign in to comment.