Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
- name: Load Go build cache
id: load-go-cache
- uses: actions/cache/restore@v4
+ uses: actions/cache/restore@v5
with:
path: ~/.cache/go-build
key: go-${{ matrix.go }}-crosscompile-${{ steps.get-date.outputs.date }}
- name: Save Go build cache
# only store cache when on master
if: github.event_name == 'push' && github.ref_name == 'master'
- uses: actions/cache/save@v4
+ uses: actions/cache/save@v5
with:
path: ~/.cache/go-build
# Caches are immutable, so we only update it once per day (at most).