new: Delete cache older than 14 days.

This commit is contained in:
Miles Johnson 2023-04-18 10:52:30 -07:00
parent c30f25ce4b
commit 0716d005db
4 changed files with 21 additions and 4 deletions

View file

@ -93,6 +93,7 @@ The following optimizations and considerations are taken into account when cachi
crate, a checkout will be performed on-demand.
- The `/registry` directory is _cleaned_ before saving the cache. This includes removing `src`,
`.cache`, and any other unnecessary files.
- Registry artifacts older than 14 days will be removed.
- `/target/debug`
- Only the `debug` profile is cached, as this profile is typically used for formatting, linting,
and testing.