Skip to content

Commit f74a11d

Browse files
rdimitrovclaude
andauthored
ci: disable golangci-lint config schema verification (#770)
golangci-lint-action v9 defaults to `verify: true`, which runs `golangci-lint config verify`. That step downloads the config JSON schema from golangci-lint.run at runtime and fails the job on network timeouts (context deadline exceeded), unrelated to any lint findings. Set `verify: false` so linting no longer depends on external network availability. Signed-off-by: Radoslav Dimitrov <radoslav@stacklok.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 4eadf5a commit f74a11d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/linting.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ jobs:
4949
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
5050
version: v2.11.4
5151
args: --timeout 5m --verbose
52+
# Skip config schema verification: it fetches the JSON schema from
53+
# golangci-lint.run at runtime and flakes on network timeouts.
54+
verify: false

0 commit comments

Comments
 (0)