From 079a680492a63e5597d89f0bdf8966f12dac8f82 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Tue, 7 Sep 2021 22:13:50 +0200 Subject: [PATCH] Update golangci to v1.42.0 (#11252) * Update Makefile * Update .golangci.yml Remove comment as version pinning is no longer needed. Co-authored-by: Wilken Rivera --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 559116206..71e3a33e5 100644 --- a/Makefile +++ b/Makefile @@ -61,9 +61,8 @@ install-gen-deps: ## Install dependencies for code generation @go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc@latest install-lint-deps: ## Install linter dependencies - # Pinning golangci-lint at v1.23.8 as --new-from-rev seems to work properly; the latest 1.24.0 has caused issues with memory consumption @echo "==> Updating linter dependencies..." - @curl -sSfL -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.23.8 + @curl -sSfL -q https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(GOPATH)/bin v1.42.0 dev: ## Build and install a development build @grep 'const VersionPrerelease = ""' version/version.go > /dev/null ; if [ $$? -eq 0 ]; then \