diff --git a/Makefile b/Makefile index 6dd3caf..b31d7b8 100644 --- a/Makefile +++ b/Makefile @@ -53,16 +53,7 @@ uninstall: $(RMDIR_IF_EMPTY) $(BINDIR) check: - $(GO) get -u golang.org/x/lint/golint - $(GO) get -u github.com/securego/gosec/cmd/gosec - $(GO) get -u honnef.co/go/tools/cmd/staticcheck - $(GO) get -u gitlab.com/opennota/check/cmd/aligncheck - $(GO) fmt -x ./... - $(GO) vet ./... - golint -set_exit_status `go list ./... | grep -v vendor` - gosec -exclude=G204 ./... - staticcheck ./... - aligncheck ./... + $(shell $(GO) env GOPATH)/bin/golangci-lint run $(GO) test -cover ./... vendor: check clean