From 9216cfa47cf4cf44984536f7a4e63336efbda68b Mon Sep 17 00:00:00 2001 From: iHsin Date: Fri, 12 Jun 2026 01:41:33 +0800 Subject: [PATCH] chore(ci): cap sccache at 850M per target GitHub limits the per-repo Actions cache to 10 GB total and every matrix target keeps its own sccache directory, so size each cache at 10 GB / 12 active targets = ~850M to keep the fleet inside the quota instead of letting per-target 1G+ caches evict each other. Co-Authored-By: Claude Fable 5 --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3712675..04788d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,11 @@ jobs: rustflags: "" enable-tmate: false only-clippy-tests-on-pr: false + # GitHub caps the per-repo Actions cache at 10 GB and each matrix target + # keeps its own sccache directory, so size each one at 10 GB / number of + # active targets in .github/target.toml (currently 12) ≈ 850M. Re-derive + # when targets are added or removed. + sccache-max-size: "850M" release: name: Release