Skip to content

Commit 0b79f3a

Browse files
jdxclaude
andcommitted
fix(ci): retry lint step to handle transient pkl fetch failures
The hk lint tool fetches its pkl config from GitHub releases, which can intermittently return 502 errors. Wrap in nick-fields/retry like the bats tests already use. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 73b792a commit 0b79f3a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,11 @@ jobs:
248248
- name: Run tests
249249
run: cargo test
250250
- name: Check formatting
251-
run: mise run lint
251+
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
252+
with:
253+
timeout_minutes: 5
254+
max_attempts: 3
255+
command: mise run lint
252256
- name: Run clippy
253257
run: cargo clippy -- -D warnings
254258

0 commit comments

Comments
 (0)