|
.PHONY: test coverage-cli coverate-html lint
|
|
|
|
test:
|
|
go test -race -coverprofile=coverage.out ./...
|
|
|
|
coverage-cli: test
|
|
go tool cover -func=coverage.out
|
|
|
|
coverage-html: test
|
|
go tool cover -html=coverage.out
|
|
|
|
lint:
|
|
golangci-lint run ./...
|
|
semgrep --config auto
|