From f9f4add257a3a0b1ec916d401223b2001dfd40a2 Mon Sep 17 00:00:00 2001 From: 0x1d Date: Wed, 5 Nov 2025 13:35:40 +0100 Subject: [PATCH] fix: remove version field to work with CI v1.64.8 The golangci-lint-action doesn't properly support v2.1.6 (uses --out-format flag which v2 doesn't support). Remove version: 2 from config to make it compatible with CI v1.64.8. Local v2.x will still work but may show a deprecation warning about the config format. --- .github/workflows/ci.yml | 4 ++-- .golangci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f6335a2..f4039f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,9 +79,9 @@ jobs: go-version: '1.24' - name: Run golangci-lint - uses: golangci/golangci-lint-action@v4 + uses: golangci/golangci-lint-action@v3 with: - version: v2.1.6 + version: v1.64.8 args: --timeout=5m build: diff --git a/.golangci.yml b/.golangci.yml index fbc6ef3..988e0c6 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,7 +1,7 @@ # golangci-lint configuration # See https://golangci-lint.run/usage/configuration/ - -version: 2 +# Note: CI uses v1.64.8 which doesn't support version: 2 +# Local v2.x will work with this config but may show a deprecation warning run: timeout: 5m