1
0
Fork 0
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:
Markus Lehtonen 2020-05-19 14:45:52 +03:00
parent 67b3da2f31
commit 4e04d1d61c

View file

@ -55,6 +55,8 @@ gofmt-verify:
exit 1; \
fi
ci-lint:
golangci-lint run --timeout 5m0s
test:
$(GO_CMD) test ./cmd/... ./pkg/...