You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test -z $(shell gofmt -l .) || (echo "[WARN] Fix format issues" && exit 1)
.PHONY: lint
lint:
test -z $(shell golangci-lint run >/dev/null || echo 1) || (echo "[WARN] Fix lint issues" && exit 1)
.PHONY: test
test:
test -z $(shell go test ./... >/dev/null 2>&1 || echo 1) || (echo "[WARN] Fix test issues" && exit 1)
.PHONY: coverage
coverage:
test -z $(shell go test -covermode=atomic -coverprofile=coverage.out -p=4 ./internal/... >/dev/null 2>&1) || (echo "[WARN] Fix test coverage" && exit 1)