diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bd071310451..96892890a62 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.49 # Always uses the latest patch version. + version: v1.50 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 9367def062b..849f7a07375 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,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.51.1 ;\ + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(shell dirname $(GOLANGCI_LINT)) v1.50.1 ;\ } .PHONY: apidiff