From 191e6b4aa323ded011fbd138866f86be95530b15 Mon Sep 17 00:00:00 2001 From: Gabe Alford Date: Thu, 3 Apr 2025 12:01:19 -0600 Subject: [PATCH] feat(lint): configure golangci for v7 --- .github/workflows/go.yml | 4 +--- Makefile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fdb2e2e0..c34a2249 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -98,9 +98,7 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v6 with: - args: "--out-${NO_FUTURE}format colored-line-number --timeout=5m12s" - skip-pkg-cache: true - skip-build-cache: true + args: "--timeout=5m12s" gosec: strategy: diff --git a/Makefile b/Makefile index 8fee9bc6..ca2d574e 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,7 @@ test-e2e: go test ./test/e2e/ -v -ginkgo.v GOLANGCI_LINT = $(shell pwd)/bin/golangci-lint -GOLANGCI_LINT_VERSION ?= v1.54.2 +GOLANGCI_LINT_VERSION ?= v2.0.2 golangci-lint: @[ -f $(GOLANGCI_LINT) ] || { \ set -e ;\