From ad0448df4d13a47793e90ea0be0c01ca70118073 Mon Sep 17 00:00:00 2001 From: J3vb <192430104+J3vb@users.noreply.github.com> Date: Sun, 9 Aug 2026 12:24:57 +0200 Subject: [PATCH] ci: stop the lint gate fetching its schema over the network (#1335) golangci-lint-action verifies .golangci.yml against a JSONSchema it pulls from https://golangci-lint.run before it lints anything. On d352696 that fetch hit its client timeout and took the required ubuntu leg of Server Build & Test red -- with zero linters run and nothing wrong with the code. Turn the pass off. `golangci-lint run` already rejects a malformed config on its own, so the only thing lost is a nicer error message for a config typo, and the thing gained is a required gate that no longer depends on a third-party website being reachable. Co-authored-by: Claude Opus 5 (1M context) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 97ed961e..80ca6d6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,11 +96,18 @@ jobs: path: Server/coverage.out retention-days: 7 + # verify: false — the action's default `config verify` pass fetches + # golangci-lint.run's JSONSchema over HTTPS before linting anything, so a + # timeout on that host fails a required job having run zero linters (it + # took main red on d352696). `golangci-lint run` rejects a bad config on + # its own; the schema pass only bought a prettier error message, priced + # at a third-party site inside the gate. - name: Lint uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 with: version: v2.11.3 working-directory: Server/ + verify: false client-check: name: Client Static Checks