From 0b7b686e3af24e233fe3b384f8654ab9007397af Mon Sep 17 00:00:00 2001 From: Cheviiot <153805936+Cheviiot@users.noreply.github.com> Date: Sat, 25 Jul 2026 04:19:34 +1000 Subject: [PATCH] Add staticcheck to CI Caught a real dead-code finding (an unused off() helper) during this session's stability pass; running it on every push/PR catches this class of issue automatically instead of relying on someone happening to run it locally. --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0c4c11e..1be8cd5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,3 +43,9 @@ jobs: - name: go test run: go test ./... + + - name: staticcheck + uses: dominikh/staticcheck-action@9716614d4101e79b4340dd97b10e54d68234e431 # v1.4.1 + with: + version: latest + install-go: false