Skip to content

Commit d7d8dd2

Browse files
ci(lint): skip remote config schema verification
The golangci-lint action downloads a JSON schema from golangci-lint.run on every run to verify .golangci.yml. A blip reaching that host fails the job before any linter runs, as it did on this PR. Linting should depend only on the checked-out code, which is also what script/lint does locally.
1 parent 218819c commit d7d8dd2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/lint.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,8 @@ jobs:
2424
with:
2525
# sync with script/lint
2626
version: v2.9
27+
# The action's config verification downloads a JSON schema from
28+
# golangci-lint.run on every run, so a blip reaching that host fails
29+
# the job before any linter runs. Skip it: linting must depend only
30+
# on the checked-out code, and script/lint does not verify either.
31+
verify: false

0 commit comments

Comments
 (0)