elements/.github
will 301aa5d814
ci: add caching actions
Github-Pull: #32989
Rebased-From: b232b0fa5e9

Add "Restore" and "Save" caching actions.

These actions reduce boilerplate in the main ci.yml configuration file.

These actions are implemented so that caches will be saved on `push`
only.

When a pull request is opened it will cache hit on the caches from the
lastest push, or in the case of depends will hit on any matching depends
hash, falling back to partial matches.

Depends caches are hashed using
`$(git ls-tree HEAD depends "ci/test/$FILE_ENV" | sha256sum | cut -d' ' -f1)`
and this hash is passed in as an input to the actions. This means we
direct cache hit in cases where depends would not be re-built, otherwise
falling back to a partial match.

Previous releases cache is hashed similarly to depends, but using the
test/get_previous_releases.py file.

The cirruslabs cache action will fallback transparently to GitHub's
cache in the case that the job is not being run on a Cirrus Runner,
making these compatible with running on forks (on free GH hardware).
2025-09-23 15:25:42 +01:00
..
actions ci: add caching actions 2025-09-23 15:25:42 +01:00
ISSUE_TEMPLATE doc: Fill in the required skills in the good_first_issue template 2023-08-30 14:02:08 +02:00
workflows ci: Add workaround for vcpkg's libevent package 2025-05-06 18:04:27 +01:00
PULL_REQUEST_TEMPLATE.md doc: Add redirect for GUI issues and pull requests 2020-06-08 10:06:02 -04:00