From 30cb170787ffb1ebbed89019d08e0f0629febd23 Mon Sep 17 00:00:00 2001 From: Xavier Coulon Date: Tue, 2 Mar 2021 23:06:07 +0100 Subject: [PATCH] chore(build): use latest version of golangci-lint (#834) applies to GH Workflow (using the golangci-lint-action) and from CLI via `make lint` Fixes #833 Signed-off-by: Xavier Coulon --- .github/workflows/ci-build.yml | 2 +- make/lint.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 794a85f5..ee6f6171 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -73,6 +73,6 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@v2.3.0 with: - version: v1.29 + version: latest args: -c .golangci.yml diff --git a/make/lint.mk b/make/lint.mk index c38c8b0e..86c8c4b0 100644 --- a/make/lint.mk +++ b/make/lint.mk @@ -1,7 +1,7 @@ .PHONY: install-golangci-lint ## Install development tools. install-golangci-lint: - @curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin v1.29.0 + @curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell go env GOPATH)/bin .PHONY: lint ## run golangci-lint against project