From 4b3aacfdf7618c95f12454ad6d42c59e05186ea5 Mon Sep 17 00:00:00 2001 From: Cheviiot <153805936+Cheviiot@users.noreply.github.com> Date: Sat, 25 Jul 2026 04:21:15 +1000 Subject: [PATCH] fix(ci): let staticcheck install its own newer Go instead of reusing 1.23 --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1be8cd5..ddfee0e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,4 +48,8 @@ jobs: uses: dominikh/staticcheck-action@9716614d4101e79b4340dd97b10e54d68234e431 # v1.4.1 with: version: latest - install-go: false + # Staticcheck itself needs a newer Go than the 1.23 this repo + # targets (go.mod's floor) - let the action install its own, + # separate from the "Set up Go" step above. min-go-version + # defaults to reading go.mod, so diagnostics still target 1.23. + install-go: true