From d1b5100f484b952b5352192ad201e67c37713061 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 3 Dec 2026 20:20:10 +0000 Subject: [PATCH] Fix golangci-lint CI job The lint job pinned golangci-lint v1.61.0 without installing Go, so it ran against the runner's newer toolchain and failed with spurious typecheck errors. Install Go from go.mod and use golangci-lint v1.64.8. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FpCfx4vHgXXz8FocntG7Y2 --- .github/workflows/golangci-lint.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 0627e15..a51e817 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,8 +14,11 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v6 with: - version: v1.61.0 + version: v1.64.8