Skip to content

ci: check the build on the declared MSRV (rust-version 1.95.0) #382

Open

Description

@andygrove

The workspace declares rust-version = "1.95.0" in Cargo.toml, but every CI job installs stable. A dependency update that needs a newer Rust, from Dependabot or by hand, would pass CI and quietly break the MSRV for downstream users.

Add a job that installs the toolchain named by workspace.package.rust-version and runs cargo check --workspace --all-targets --all-features. Reading the version from Cargo.toml keeps the job in step when the MSRV moves. Raised by @comphead in #323.

Activity

  1. AKIB2005 commented on Nov 21, 2026

    @AKIB2005

    Hi @andygrove, I'd be interested in working on this. I'm planning to add an MSRV CI check that reads the version from the workspace's Cargo.toml, as suggested. Please let me know if there's anything specific I should consider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions