fix(ci): persist sccache and align documentation tests with nightly - #28
Merged
Merged
Conversation
Enable sccaches GitHub Actions backend so compiler artifacts can be reused across CI runs while preserving the existing rust-cache target caching behavior. Run documentation tests explicitly on nightly, matching the toolchain already required by the documentation build. Simplify the documentation CI job to install nightly directly instead of using stable for doctests. Apply the persistent sccache configuration to the existing MSRV, feature-check, test, documentation, and Clippy jobs without otherwise changing their cache policy.
zerosnacks
enabled auto-merge (squash)
September 14, 2026 21:05
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.
This updates Steda’s Rust CI caching while preserving the existing Cargo target cache behavior.
The main fix is enabling sccache’s GitHub Actions backend so compiler artifacts persist across CI runs instead of being written only to ephemeral runner-local storage.
The documentation job is also simplified to use nightly directly. Steda already relies on nightly for documentation-related work, so installing stable first and then switching toolchains was unnecessary.
Changes
SCCACHE_GHA_ENABLED=truerust-cachetarget caching behaviorThis keeps Cargo target caching and sccache complementary while removing the unnecessary dual-toolchain setup from the documentation job.