mirror of
https://github.com/xroche/httrack.git
synced 2026-06-25 03:27:22 +03:00
Both linters fetched a tool over the network. The format job pulled the git-clang-format driver from raw.githubusercontent.com, which 429 rate-limits the shared runner egress IPs; a 429 failed the job and left the cache empty, so every later run cold-missed and 429'd again. The lint job similarly fetched the shfmt release binary from github.com. Both are unnecessary. The clang-format-19 package already installed ships the matching git-clang-format driver (/usr/bin/git-clang-format-19); symlink it to the unsuffixed name. And ubuntu-24.04 (noble) ships shfmt 3.8.0 in universe, exactly the pinned version, so install it from apt too. This drops both fetches, both actions/cache steps, and the LLVM_TAG / SHFMT_VERSION env: no network call, nothing to rate-limit. Each tool's version now tracks its apt package, same as clang-format itself. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Xavier Roche <roche@httrack.com>