From 524fe197c63fae588132bfdd335b5ef0b2c30b6d Mon Sep 17 00:00:00 2001 From: Kris Armstrong Date: Mon, 6 Jul 2026 15:35:03 -0400 Subject: [PATCH] ci(lint): lint the full tree, not just the diff Backlog cleared and verified: golangci-lint v2.12.2 full-tree run on origin/main reports 0 issues. Drop --new-from-rev=HEAD~1 so CI enforces zero warnings across the whole repo instead of only changed lines. Related to #486 --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64181b8..a08ee34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -120,7 +120,10 @@ jobs: uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1 with: version: v2.12.2 - args: --timeout=5m --new-from-rev=HEAD~1 + # Full-tree lint (backlog cleared 2026-07-06, verified 0 issues). + # Was --new-from-rev=HEAD~1 (diff-only); now lints the whole tree so + # "zero warnings" means the whole repo, not just changed lines. + args: --timeout=5m - name: Verify API schemas are up to date run: ./scripts/check-schema-drift.sh