What changed, and why it matters
This commit simply updates the version numbers of third-party GitHub Actions used to save and restore build caches during automated testing. There is no change to Bitcoin Core's actual code, consensus rules, wallet behavior, or network logic. It is a routine maintenance update to the continuous integration (CI) configuration.
No security action required. Review the upstream v5 release notes for the Cirrus Labs cache action to confirm the major version bump does not introduce breaking changes for Bitcoin Core's CI usage, and monitor CI runs for any cache-related failures.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch bumps all references to the cirruslabs/cache/restore and cirruslabs/cache/save reusable GitHub Actions from v4 to v5 in .github/actions/restore-caches/action.yml and .github/actions/save-caches/action.yml. These actions only manage CI build caches (ccache, depends sources, built depends, previous releases). The change does not alter executable code, build scripts, dependencies, or any user-facing functionality.
Changed components
GitHub Actions CI workflow definitionscirruslabs/cache/restore action version referencecirruslabs/cache/save action version referenceInspect captured patch +8 / −8
diff --git a/.github/actions/restore-caches/action.yml b/.github/actions/restore-caches/action.yml
index 8dc35d49..21f2807f 100644
--- a/.github/actions/restore-caches/action.yml
+++ b/.github/actions/restore-caches/action.yml
@@ -5,7 +5,7 @@ runs:
steps:
- name: Restore Ccache cache
id: ccache-cache
- uses: cirruslabs/cache/restore@v4
+ uses: cirruslabs/cache/restore@v5
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ env.CONTAINER_NAME }}-${{ github.run_id }}
@@ -14,7 +14,7 @@ runs:
- name: Restore depends sources cache
id: depends-sources
- uses: cirruslabs/cache/restore@v4
+ uses: cirruslabs/cache/restore@v5
with:
path: ${{ env.SOURCES_PATH }}
key: depends-sources-${{ env.CONTAINER_NAME }}-${{ env.DEPENDS_HASH }}
@@ -23,7 +23,7 @@ runs:
- name: Restore built depends cache
id: depends-built
- uses: cirruslabs/cache/restore@v4
+ uses: cirruslabs/cache/restore@v5
with:
path: ${{ env.BASE_CACHE }}
key: depends-built-${{ env.CONTAINER_NAME }}-${{ env.DEPENDS_HASH }}
@@ -32,7 +32,7 @@ runs:
- name: Restore previous releases cache
id: previous-releases
- uses: cirruslabs/cache/restore@v4
+ uses: cirruslabs/cache/restore@v5
with:
path: ${{ env.PREVIOUS_RELEASES_DIR }}
key: previous-releases-${{ env.CONTAINER_NAME }}-${{ env.PREVIOUS_RELEASES_HASH }}
diff --git a/.github/actions/save-caches/action.yml b/.github/actions/save-caches/action.yml
index 0e3b3124..3072ab3f 100644
--- a/.github/actions/save-caches/action.yml
+++ b/.github/actions/save-caches/action.yml
@@ -11,28 +11,28 @@ runs:
echo "previous releases direct cache hit to primary key: ${{ env.previous-releases-cache-hit }}"
- name: Save Ccache cache
- uses: cirruslabs/cache/save@v4
+ uses: cirruslabs/cache/save@v5
if: ${{ (github.event_name == 'push') && (github.ref_name == github.event.repository.default_branch) }}
with:
path: ${{ env.CCACHE_DIR }}
key: ccache-${{ env.CONTAINER_NAME }}-${{ github.run_id }}
- name: Save depends sources cache
- uses: cirruslabs/cache/save@v4
+ uses: cirruslabs/cache/save@v5
if: ${{ (github.event_name == 'push') && (github.ref_name == github.event.repository.default_branch) && (env.depends-sources-cache-hit != 'true') }}
with:
path: ${{ env.SOURCES_PATH }}
key: depends-sources-${{ env.CONTAINER_NAME }}-${{ env.DEPENDS_HASH }}
- name: Save built depends cache
- uses: cirruslabs/cache/save@v4
+ uses: cirruslabs/cache/save@v5
if: ${{ (github.event_name == 'push') && (github.ref_name == github.event.repository.default_branch) && (env.depends-built-cache-hit != 'true' )}}
with:
path: ${{ env.BASE_CACHE }}
key: depends-built-${{ env.CONTAINER_NAME }}-${{ env.DEPENDS_HASH }}
- name: Save previous releases cache
- uses: cirruslabs/cache/save@v4
+ uses: cirruslabs/cache/save@v5
if: ${{ (github.event_name == 'push') && (github.ref_name == github.event.repository.default_branch) && (env.previous-releases-cache-hit != 'true' )}}
with:
path: ${{ env.PREVIOUS_RELEASES_DIR }}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.