-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: Add linters to makefile / github CI
Not yet ready to make gating, but we can watch the progress.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -276,3 +276,11 @@ container-clean: | |
|
||
bin-clean: | ||
rm -rf .go bin | ||
|
||
lint-staticcheck: | ||
go run honnef.co/go/tools/cmd/[email protected] | ||
|
||
lint-golangci-lint: | ||
go run github.com/golangci/golangci-lint/cmd/[email protected] run | ||
|
||
lint: lint-staticcheck lint-golangci-lint |