What changed, and why it matters
This commit only changes the project's automated CI (continuous integration) workflow. It adds a step to free up disk space on GitHub's virtual machines before compiling the code with the Minimum Supported Rust Version (MSRV). There is no change to the actual Rust Bitcoin library code, no user-facing behavior change, and no security issue.
No security action required. Reviewers may optionally verify the pinned commit hash of the third-party action and confirm it only removes preinstalled packages, but this is a routine CI maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch adds a ‘Free disk space’ step to the MSRV job in .github/workflows/rust.yml. It uses a third-party GitHub Action (endersonmenezes/free-disk-space@v3.0.0) to remove Android, .NET, and Haskell toolchains from the runner. This is a response to GitHub runner image bloat causing out-of-memory/disk issues during MSRV builds. The change is purely CI infrastructure and does not touch any source code, dependencies, or build outputs consumed by users.
Changed components
.github/workflows/rust.ymlInspect captured patch +6 / −0
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 5b47d8df..dc240498 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -111,6 +111,12 @@ jobs:
ref: ${{ needs.Prepare.outputs.maintainer_tools_version }}
path: maintainer-tools
persist-credentials: false
+ - name: "Free disk space"
+ uses: endersonmenezes/free-disk-space@6c4664f43348c8c7011b53488d5ca65e9fc5cd1a # v3.0.0
+ with:
+ remove_android: true
+ remove_dotnet: true
+ remove_haskell: true
- name: "Select toolchain"
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
with:
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.