# Cache Rules
`gha-cache-proof` check IDs are stable enough for downstream receipts.
## Request Checks
- `cache.key`: key is present and under the 512 character limit.
- `cache.key.length`: key exceeds the GitHub Actions cache key limit.
- `cache.path`: at least one path is configured.
- `cache.scope`: accessible cache scopes were computed.
## Restore Checks
- `cache.restore.match`: a matching cache was found.
- `cache.restore.copy`: cache contents were restored, or restore was skipped because lookup-only was requested.
- `cache.restore.miss`: no matching cache was found.
## Save Checks
- `cache.save.created`: a new local cache entry was written.
- `cache.save.exists`: key, version, and scope already exist.
- `cache.save.empty`: no files matched the requested cache paths.
## Workflow Checks
- `workflow.cache-steps`: cache action steps were found or absent.
- `cache.step.with`: a cache step is missing `with:`.
- `cache.step.key`: cache step has the required key.
- `cache.step.path`: cache step has at least one path.
- `cache.step.pin`: cache action reference is version-pinned.