From b145251e631d75c9ea90566ccdadfcea8116d57b Mon Sep 17 00:00:00 2001 From: Casey Tran Date: Thu, 2 Apr 2026 11:25:31 -0500 Subject: [PATCH] update command to be golangci-lint v2.0+ compatible --- .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 c6675888ffb2..686f14cfa2e2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: with: go-version: "1.24" - name: golangci-lint - uses: golangci/golangci-lint-action@v6 + uses: golangci/golangci-lint-action@v9 with: # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version version: latest diff --git a/Makefile b/Makefile index b0c875900bb1..bf347b837ede 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,7 @@ check: go vet $(shell go list ./... | grep -v /vendor/) lint: - golangci-lint run --enable bodyclose --enable copyloopvar --enable misspell --out-format=colored-line-number --timeout 10m + golangci-lint run --enable bodyclose --enable copyloopvar --enable misspell --output.text.colors --timeout 10m test-failing: CGO_ENABLED=0 go test -timeout=5m $(shell go list ./... | grep -v /vendor/) | grep FAIL