3
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2026-08-08 12:31:14 +00:00
cache/checkout
Jasperhino 01f9143258 checkout: unify cache on repo-<sha>, drop sparse/depth/filter inputs
Breaking: removes fetch-depth, filter, sparse-checkout, sparse-checkout-cone-mode
inputs. Composite always populates full history + blob:none so every caller
for the same SHA gets the same tarball. Cache key simplifies to repo-<sha>.

Rationale: every sparse callsite in cula-platform runs downstream of a
full-tree-populating job (find_affected). Full-tree restore (~3-5s) is
faster than sparse clone (~10-20s). One cache entry per SHA, no
fragmentation, no races on conflicting tarball contents.

If someone needs a sparse checkout outside the cache, use raw actions/checkout.
2026-04-24 11:27:55 +02:00
..
action.yml checkout: unify cache on repo-<sha>, drop sparse/depth/filter inputs 2026-04-24 11:27:55 +02:00