Fix CI linting

Signed-off-by: Blake Gong <blakegong@gmail.com>
This commit is contained in:
Blake Gong
2022-07-19 09:31:53 +08:00
parent f5c7c6fbaf
commit 4132916178

View File

@@ -147,7 +147,7 @@ endif
.PHONY: golangci
golangci: ## Install golangci
ifeq (, $(shell which golangci-lint))
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(shell $(GO) env GOPATH)/bin $(GOLANGCI_VERSION)
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell $(GO) env GOPATH)/bin $(GOLANGCI_VERSION)
endif
.PHONY: tools