diff --git a/Makefile b/Makefile index d0192e13..c8fd328c 100644 --- a/Makefile +++ b/Makefile @@ -15,21 +15,14 @@ TAG_VERSION = v$(VERSION) ACT ?= go run -mod=vendor main.go export GITHUB_TOKEN = $(shell cat ~/.config/github/token) -default: check - -test: - go test -cover -short ./... - check: - $(ACT) -orj ci + @golangci-lint run + @go test -cover ./... build: check $(eval export SNAPSHOT_VERSION=$(VERSION)) $(ACT) -ra build -release: - $(ACT) -ra local-release - install: build @cp dist/$(shell go env GOOS)_$(shell go env GOARCH)/act /usr/local/bin/act @chmod 755 /usr/local/bin/act