Skip to content

Commit

Permalink
Check if golangci-lint is installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Barclay committed Jul 12, 2024
1 parent e4b566f commit 3ec7442
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 @@ -40,6 +40,7 @@ coverage:

.PHONY: lint
lint:
@command -v golangci-lint || (echo "golangci-lint not installed. See https://golangci-lint.run/welcome/install/"; exit 1)
@golangci-lint version
golangci-lint --verbose run --timeout=5m ./...

Expand Down

0 comments on commit 3ec7442

Please sign in to comment.