diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 95a74972df2..10b00f3ee22 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -39,7 +39,7 @@ jobs: - name: Run linter uses: golangci/golangci-lint-action@v3 with: - version: v1.50 + version: v1.51 only-new-issues: true # Show only new issues if it's a pull request - name: Report failure uses: nashmaniac/create-issue-action@v1.1 diff --git a/Makefile b/Makefile index 4bd8a953452..3e49bccab68 100644 --- a/Makefile +++ b/Makefile @@ -95,7 +95,7 @@ GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint golangci-lint: @[ -f $(GOLANGCI_LINT) ] || { \ set -e ;\ - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.50.1 ;\ + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.51.2 ;\ } .PHONY: apidiff