mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-14 20:56:42 +00:00
Makefile: add ci-lint target
Use golangci-lint to make use of a number of different linters.
This commit is contained in:
parent
67b3da2f31
commit
4e04d1d61c
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -55,6 +55,8 @@ gofmt-verify:
|
|||
exit 1; \
|
||||
fi
|
||||
|
||||
ci-lint:
|
||||
golangci-lint run --timeout 5m0s
|
||||
|
||||
test:
|
||||
$(GO_CMD) test ./cmd/... ./pkg/...
|
||||
|
|
Loading…
Add table
Reference in a new issue