Skip to content

Commit 1983f49

Browse files
committed
Fix golangci-lint config validation timeout in CI
Add --skip-config-verify flag to prevent CI failures when golangci-lint cannot download the remote JSON schema for config validation due to network timeouts or server unavailability. This resolves: 'context deadline exceeded (Client.Timeout exceeded)' errors when accessing https://golangci-lint.run/jsonschema/golangci.v2.4.jsonschema.json The linter will still run and validate code, just skip remote schema validation.
1 parent 7c3226e commit 1983f49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uses: golangci/golangci-lint-action@v8
6868
with:
6969
version: latest
70-
args: --timeout=5m --verbose
70+
args: --timeout=5m --verbose --skip-config-verify
7171

7272
benchmark:
7373
name: Benchmark

0 commit comments

Comments
 (0)