From 21393a74ca811218bd0d4da310556b6fed1d3cec Mon Sep 17 00:00:00 2001 From: Tharun K <53267275+tharun634@users.noreply.github.com> Date: Tue, 21 Feb 2023 09:00:30 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=B1=20Update=20golangci-lint=20to=20la?= =?UTF-8?q?test=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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