1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2026-03-11 07:03:17 +00:00
checkout/src
Michael Wyraz 9ddd3f4b35 feat: implement reference-cache for faster checkouts
- Add `reference-cache` input to action.yml
- Introduce `GitCacheHelper` for bare clone cache management
- Prevent race conditions with `proper-lockfile` and atomic directory renames
- Support iterative submodule caching and robust relative URL resolution
- Append to `info/alternates` preserving existing alternate references
- Add fallback to standard clone on submodule cache failure
- Add unit tests for `GitCacheHelper`

Signed-off-by: Michael Wyraz <mw@brick4u.de>
2026-03-05 15:33:54 +01:00
..
misc Update all references from v5 and v4 to v6 (#2314) 2025-11-23 19:32:55 -06:00
fs-helper.ts Update NPM dependencies (#1703) 2024-04-24 12:04:10 -04:00
git-auth-helper.ts feat: implement reference-cache for faster checkouts 2026-03-05 15:33:54 +01:00
git-cache-helper.ts feat: implement reference-cache for faster checkouts 2026-03-05 15:33:54 +01:00
git-command-manager.ts feat: implement reference-cache for faster checkouts 2026-03-05 15:33:54 +01:00
git-directory-helper.ts Fix typos found by codespell (#1287) 2023-04-19 16:55:10 +02:00
git-source-provider.ts feat: implement reference-cache for faster checkouts 2026-03-05 15:33:54 +01:00
git-source-settings.ts feat: implement reference-cache for faster checkouts 2026-03-05 15:33:54 +01:00
git-version.ts Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
github-api-helper.ts Check platform for extension (#1732) 2024-05-16 13:40:36 -04:00
input-helper.ts feat: implement reference-cache for faster checkouts 2026-03-05 15:33:54 +01:00
main.ts Add Ref and Commit outputs (#1180) 2024-09-05 11:57:13 -04:00
ref-helper.ts Fix tag handling: preserve annotations and explicit fetch-tags (#2356) 2026-01-09 13:42:23 -06:00
regexp-helper.ts add support for submodules (#173) 2020-03-05 14:21:59 -05:00
retry-helper.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
state-helper.ts Fix comment typos (that got added in #770) (#1057) 2022-12-28 17:19:08 -05:00
url-helper.ts url-helper.ts now leverages well-known environment variables. (#1941) 2024-10-18 10:07:17 +02:00
workflow-context-helper.ts Update NPM dependencies (#1703) 2024-04-24 12:04:10 -04:00