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 <dev@wilkenrivera.com>
pull/11254/head
Matthieu MOREL 5 years ago committed by GitHub
parent 9123c87027
commit 079a680492
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 \

Loading…
Cancel
Save