Skip to content

Commit 0d4b68d

Browse files
committed
make: Bump golangci-lint
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 <stephenfin@redhat.com>
1 parent ce56d12 commit 0d4b68d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
undefine GOFLAGS
22

3-
GOLANGCI_LINT_VERSION?=v1.57.1
4-
GO_TEST?=go run gotest.tools/gotestsum@latest --format testname
3+
GOLANGCI_LINT_VERSION?=v1.62.2
4+
GO_TEST?=go run gotest.tools/gotestsum@latest --format testname --
55

66
ifeq ($(shell command -v podman 2> /dev/null),)
77
RUNNER=docker
@@ -23,7 +23,7 @@ lint:
2323
-v ~/.cache/golangci-lint/$(GOLANGCI_LINT_VERSION):/root/.cache \
2424
-w /app \
2525
-e GOFLAGS="-tags=acceptance" \
26-
golangci/golangci-lint:$(GOLANGCI_LINT_VERSION) golangci-lint run
26+
golangci/golangci-lint:$(GOLANGCI_LINT_VERSION) golangci-lint run -v --max-same-issues 50
2727
.PHONY: lint
2828

2929
format:

0 commit comments

Comments
 (0)