Skip to content

Commit

Permalink
make: Bump golangci-lint
Browse files Browse the repository at this point in the history
We also add the '-v' and '--max-same-issues' flags so that we get some
indication that things are running and show more output.

Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Nov 28, 2024
1 parent dc046b5 commit bcbeda5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
undefine GOFLAGS

GOLANGCI_LINT_VERSION?=v1.57.1
GOLANGCI_LINT_VERSION?=v1.62.2

ifeq ($(shell command -v podman 2> /dev/null),)
RUNNER=docker
Expand All @@ -22,7 +22,7 @@ lint:
-v ~/.cache/golangci-lint/$(GOLANGCI_LINT_VERSION):/root/.cache \
-w /app \
-e GOFLAGS="-tags=acceptance" \
golangci/golangci-lint:$(GOLANGCI_LINT_VERSION) golangci-lint run
golangci/golangci-lint:$(GOLANGCI_LINT_VERSION) golangci-lint run -v --max-same-issues 50
.PHONY: lint

unit:
Expand Down

0 comments on commit bcbeda5

Please sign in to comment.