Files
tty7/.github/workflows
cd5bf5508c ci: seed rust-cache from main, skip Rust jobs on docs-only PRs (#1022)
* ci: seed rust-cache from main, skip Rust jobs on docs-only PRs

Every PR branch saved its own ~2 GB rust-cache per target, readable only
by that branch, so the repo sat over its 10 GB quota with nothing from
main and every branch built cold. Save from main pushes and manual runs
only, keep the cache when a test step fails, and build with
line-tables-only debug info so the cached target dir is smaller.

Docs-only PRs skip the Rust work: a changes job diffs the merge commit
against its base, and build skips its steps rather than the job, so the
required build & test checks still report instead of pending forever.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci: count both sides of a rename in the docs-only check

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com>
2026-09-30 09:21:09 +08:00
..