Files
act_runner/e2e/testdata/workflows/cache.yml
silverwind 41f1e08bec chore(deps): bump the pins Renovate does not update (#1330)
Renovate gets no release timestamps for Docker Hub images with more than 1000 tags (https://github.com/renovatebot/renovate/issues/46925) or for quay.io, so the 5-day minimum release age holds them back forever. The e2e workflows, the Kubernetes examples and the toolkit test pins are outside its managers, so these are bumped by hand.

The builder follows the current Alpine instead of the frozen 3.23.

Reviewed-on: https://gitea.com/gitea/runner/pulls/1330
Reviewed-by: bircni <bircni@icloud.com>
Co-authored-by: silverwind <me@silverwind.io>
2026-10-20 16:14:16 +00:00

27 lines
664 B
YAML

name: cache
on: push
jobs:
save:
runs-on: e2e-cache
steps:
- run: |
mkdir -p cached
echo "cached-payload" > cached/data.txt
- uses: actions/cache@v6
with:
path: cached
key: e2e-cache-${{ github.run_id }}
restore:
needs: save
runs-on: e2e-cache
steps:
- uses: actions/cache@v6
id: restore
with:
path: cached
key: e2e-cache-${{ github.run_id }}
- run: |
echo "cache-hit=${{ steps.restore.outputs.cache-hit }}"
test "${{ steps.restore.outputs.cache-hit }}" = "true"
grep -q cached-payload cached/data.txt