Skip to content

Commit

Permalink
Change linter install process
Browse files Browse the repository at this point in the history
Signed-off-by: William Douglas <[email protected]>
  • Loading branch information
bryteise committed Jan 26, 2024
1 parent 7beb5a3 commit ef516f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ checkcoverage:

.PHONY: lint
lint:
@rm -f $(gopath)/bin/golangci-lint
@if ! $(gopath)/bin/golangci-lint --version &>/dev/null; then \
echo "Installing linters..."; \
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(gopath)/bin v1.55.2; \
Expand Down

0 comments on commit ef516f4

Please sign in to comment.