Skip to content

Commit

Permalink
get golangci-lint's version from tools/mod for the Makefile target in…
Browse files Browse the repository at this point in the history
…stall-golangci-lint

Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr committed Nov 16, 2023
1 parent c30d5c3 commit 273a0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ endif

# Tools

GOLANGCI_LINT_VERSION = "v1.55.2"
GOLANGCI_LINT_VERSION = $(shell cd tools/mod && go list -m -f {{.Version}} github.com/golangci/golangci-lint)
.PHONY: install-golangci-lint

install-golangci-lint:
Expand Down

0 comments on commit 273a0c9

Please sign in to comment.