Commit Graph
6 Commits
Author SHA1 Message Date
Jasperhino f4c470a8aa checkout: add sparse-checkout input, bypass cache when sparse
Adds sparse-checkout input. When set, the composite skips GCS restore
and save entirely and falls through to a plain actions/checkout. This
keeps the full-tree cache uncontaminated by sparse subsets (which
would break subsequent full-tree reads on cache hit).
2026-04-24 10:57:19 +02:00
Jasperhino 4355f8bdbb Add checkout/ composite: GCS-cached working tree restore
First-step-capable checkout wrapper: uses Cula-Technologies/cache/restore
to pull a tarball of the repo keyed on SHA, falls back to actions/checkout
on miss then saves. Meant to be the first step of a job — avoids the
local-composite chicken-and-egg.
2026-04-24 10:46:08 +02:00
Jasperhino cbe95a5765 Bump action runtime from node20 to node24 2026-04-23 13:08:11 +02:00
Jasperhino cae5e556dd Trim upstream-specific workflows + CODEOWNERS
Drop workflows we don't need on the fork:
- licensed.yml (no .licenses for @google-cloud/storage)
- workflow.yml (jest tests mock @actions/cache, break with wrapper)
- close-inactive-issues, issue-opened, pr-opened (upstream oncall)
- publish-immutable-actions (not publishing to marketplace)
- release-new-action-version (replaced by auto-tag.yml)

Drop CODEOWNERS so merges don't require @actions/actions-cache review.
Drop .licensed.yml config (no longer used).
2026-04-23 13:05:25 +02:00
Jasperhino 5c1d51c316 Add auto-tag workflow to move v1 tag on main pushes 2026-04-23 12:56:13 +02:00
Jasperhino d751c19fb0 Add GCS cache backend with GitHub fallback
Port GCS support from danySam/gcs-cache. When gcs-bucket input is set,
cache to Google Cloud Storage via Application Default Credentials; else
fall back to GitHub's cache service transparently.

- New inputs: gcs-bucket, gcs-path-prefix (default: github-cache)
- New src/utils/gcsCache.ts wraps @actions/cache restore/save
- restoreImpl/saveImpl swap @actions/cache import for local wrapper
- Adds @google-cloud/storage ^7.16.0, bumps typescript to ^5.8.3
- Regenerated dist/ via npm run build

Skipped: upstream workflow removals, README/examples/RELEASES churn,
licensed/codeql config, GCS integration-test workflow.
2026-04-23 12:48:47 +02:00