Skip to content

chore(toolchain): install the pinned Rust toolchain in CI - #141

Merged
phildenhoff merged 1 commit into
mainfrom
stack-1-toolchain
Sep 17, 2026
Merged

phildenhoff merged 1 commit into
mainfrom
stack-1-toolchain

Conversation

@phildenhoff

@phildenhoff phildenhoff commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

CI hardcoded the Rust version in four workflows while rust-toolchain.toml already pins it — two sources of truth for one fact. This makes the file the only source: CI runs rustup toolchain install, which reads channel, profile, and the clippy/rustfmt components straight from rust-toolchain.toml, so bumping the pin is a one-file change.

README now points at the pin instead of naming a version, and asks for rustup toolchain install once after cloning (rather than promising auto-install on first cargo command — rustup 1.28 deprecation footgun).

Stack

This is the bottom layer of the OPDS v1 stack (#142 → #143 → #144 → #137). Mergeable on its own.

@phildenhoff
phildenhoff added this pull request to stack #145 September 17, 2026 18:59
@github-actions

Copy link
Copy Markdown

libcalibre Test Coverage Report

Overall coverage: 81.75%

📊 Download HTML Report

Coverage breakdown available in the artifacts.

@phildenhoff phildenhoff changed the title chore(toolchain): pin Rust 1.97.1 across local and CI builds chore: pin Rust 1.97.1 and derive CI toolchain from rust-toolchain.toml Sep 17, 2026
@github-actions

Copy link
Copy Markdown

libcalibre Test Coverage Report

Overall coverage: 81.75%

📊 Download HTML Report

Coverage breakdown available in the artifacts.

@github-actions

Copy link
Copy Markdown

libcalibre Test Coverage Report

Overall coverage: 81.75%

📊 Download HTML Report

Coverage breakdown available in the artifacts.

@github-actions

Copy link
Copy Markdown

libcalibre Test Coverage Report

Overall coverage: 81.75%

📊 Download HTML Report

Coverage breakdown available in the artifacts.

@phildenhoff
phildenhoff marked this pull request as ready for review September 17, 2026 22:34
CI hardcoded its Rust version in four workflows while rust-toolchain.toml
already pins it. Install with bare `rustup toolchain install` so the file
stays the single source of truth for channel, profile, and components;
README points at the pin instead of naming a version.
@phildenhoff phildenhoff changed the title chore: pin Rust 1.97.1 and derive CI toolchain from rust-toolchain.toml chore(toolchain): install the pinned Rust toolchain in CI Sep 17, 2026
@github-actions

Copy link
Copy Markdown

libcalibre Test Coverage Report

Overall coverage: 81.75%

📊 Download HTML Report

Coverage breakdown available in the artifacts.

@phildenhoff
phildenhoff merged commit 9bb5ef2 into main Sep 17, 2026
7 checks passed
@phildenhoff
phildenhoff deleted the stack-1-toolchain branch September 17, 2026 22:50
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