Skip to content

fix(ci): persist sccache and align documentation tests with nightly - #28

Merged
zerosnacks merged 5 commits into
masterfrom
fix/ci-sccache
Sep 14, 2026
Merged

zerosnacks merged 5 commits into
masterfrom
fix/ci-sccache

Conversation

@zerosnacks

Copy link
Copy Markdown
Member

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

  • enable SCCACHE_GHA_ENABLED=true
  • keep the existing rust-cache target caching behavior
  • apply persistent sccache across the existing Rust CI jobs
  • run doctests explicitly with nightly
  • simplify the documentation CI job to install nightly directly

This keeps Cargo target caching and sccache complementary while removing the unnecessary dual-toolchain setup from the documentation job.

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
zerosnacks enabled auto-merge (squash) September 14, 2026 21:05
@zerosnacks
zerosnacks merged commit 1026664 into master Sep 14, 2026
13 checks passed
@zerosnacks
zerosnacks deleted the fix/ci-sccache branch September 14, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant