build: disabling test cache and ignoring varnamelen in lint

This commit is contained in:
Marvin Preuss 2022-01-17 11:26:34 +01:00
parent 6dca2d6522
commit fc1a89088a

View File

@ -4,11 +4,14 @@ GOLANGCI_LINT := $(GO) run github.com/golangci/golangci-lint/cmd/golangci-lint
.PHONY: test
test:
$(GO) test -v ./...
$(GO) test -count=1 -v ./...
.PHONY: lint
lint:
$(GOLANGCI_LINT) run --enable-all --disable=godox --timeout 10m
$(GOLANGCI_LINT) run \
--enable-all \
--disable=godox,varnamelen \
--timeout 10m
.PHONY: tidy
tidy: