ci: refresh Actions, restore fmt, and cache with rust-cache - #4
Merged
Merged
Conversation
Use checkout@v5, Swatinem/rust-cache, and mlugg/setup-zig. Restore cargo fmt as a CI gate, run clippy on all targets, and fail-fast false so one OS does not hide the rest. Amp-Thread-ID: https://ampcode.com/threads/T-01a0a631-cbad-764e-a59c-662f4c6e0902 Co-authored-by: Max Carter <undivisible@vk.com>
|
Capy couldn't review this pull request because Max's workspace is out of credits, add credits or enable auto-reload to resume automatic reviews. |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_6072dd94-d1f8-4cff-ae9f-6ba525492534) |
|
Tick the box to add this pull request to the merge queue (same as
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CI hygiene only (no library API changes). Independent of #1.
actions/checkout@v5(Node 24)Swatinem/rust-cache@v2instead ofactions/cache@v4hashing a gitignoredCargo.lockmlugg/setup-zig@v2(maintained successor ofgoto-bus-stop/setup-zig)cargo fmt --checkon Ubuntu--all-targets,fail-fast: false,permissions: contents: readRUSTDOCFLAGS: -D warningsDoes not change C
-fPICflags (that lives in #1, which is currently red on Windows).Test plan
Note
Low Risk
Changes are limited to GitHub Actions configuration and composite action docs; no application logic, auth, or data handling is modified.
Overview
CI-only refresh across the main workflow and the composite setup-equilibrium action—no library/runtime code changes.
Actions upgrades:
actions/checkout@v4→ v5 everywhere; Zig install moves fromgoto-bus-stop/setup-zig@v2tomlugg/setup-zig@v2(docs and workflows aligned).Caching: Manual
actions/cache@v4keys (including paths that could miss effective cache keys) are replaced withSwatinem/rust-cache@v2in CI jobs and in the setup action whencache: true.Stricter Rust gates: Workflow adds
permissions: contents: read, globalRUSTFLAGS: -D warnings, matrixfail-fast: false, pins test toolchain todtolnay/rust-toolchain@stablewith clippy/rustfmt components, restorescargo fmt --checkon Ubuntu, and runs clippy with--all-targets. The docs job drops a redundant duplicate doc step and appliesRUSTDOCFLAGS: -D warningson the actualcargo docrun.Reviewed by Cursor Bugbot for commit a0ebeb8. Configure here.