diff --git a/Makefile b/Makefile index 3a6d7f28..c18fe32a 100644 --- a/Makefile +++ b/Makefile @@ -3,15 +3,15 @@ HTTP_PORT ?= 8080 LOG_LEVEL ?= debug CI_TAG ?= $(shell git describe --tags $(shell git rev-list --tags --max-count=1)) -TAG_SUFFIX := $(shell echo $(CI_TAG) | tail -c 3) all: test testdeps: cd /tmp && go get github.com/go-swagger/go-swagger/cmd/swagger + cd /tmp && go get github.com/golangci/golangci-lint/cmd/golangci-lint + go mod download lint: testdeps - cd /tmp && go get github.com/golangci/golangci-lint/cmd/golangci-lint golangci-lint run --fast -D errcheck -E megacheck --deadline 5m ./... gotest: testdeps