1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-14 11:57:59 +00:00

Upgrade golangci-lint and change install script.

This commit is contained in:
John Hobbs 2021-10-27 16:35:55 -05:00
parent fad61d6771
commit 085c5de4cd

View file

@ -107,7 +107,7 @@ lint.check: ## Check install of golanci-lint
lint.install: ## Install golangci-lint to the go bin dir lint.install: ## Install golangci-lint to the go bin dir
@if ! golangci-lint --version > /dev/null 2>&1; then \ @if ! golangci-lint --version > /dev/null 2>&1; then \
echo "Installing golangci-lint"; \ echo "Installing golangci-lint"; \
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOBIN) v1.33.0; \ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOBIN) v1.42.1; \
fi fi
lint: lint.check ## Run golangci-lint lint: lint.check ## Run golangci-lint