ci: remove actions/cache step (gitea.com clone hangs 12+ min)
CI / Build + Clippy + Test (pull_request) Failing after 7s
CI / Security audit (RUSTSEC) (pull_request) Failing after 3s

The actions/cache@v4 clone from gitea.com has been hanging for 12+
minutes in run 17. The actions/checkout clone took 2.5 min (slow but
completed), but actions/cache is stuck indefinitely.

Removing the cache step entirely. Trade-off: CI recompiles from scratch
each run (slower), but actually progresses past the action-clone phase.
Can re-add once gitea.com access is faster or actions are pre-cached
on the runner.
This commit is contained in:
2026-07-14 13:38:48 +08:00
parent cbe410534e
commit 93c331f11e
-11
View File
@@ -84,17 +84,6 @@ jobs:
registry = "sparse+https://rsproxy.cn/index/" registry = "sparse+https://rsproxy.cn/index/"
EOF EOF
- name: Cache cargo registry + build artifacts
uses: https://gitea.com/actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock', 'Cargo.toml') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Clippy (release, all targets) - name: Clippy (release, all targets)
run: cargo clippy --release --all-targets run: cargo clippy --release --all-targets