Skip to content

Commit

Permalink
ci: Do a check build on our MSRV
Browse files Browse the repository at this point in the history
This should ensure that we don't start using features from more recent rust
versions without bumping rust-version in our Cargo.toml.

Fixes #211
  • Loading branch information
davidlattimore committed Feb 25, 2025
1 parent 255c072 commit a205701
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: dtolnay/rust-toolchain@stable
# This is where we check that we're not using features from a more recent rust version. When
# updating this, please also update workspace.package.rust-version in `Cargo.toml`.
- uses: dtolnay/[email protected]
id: rust-toolchain
with:
components: clippy
Expand Down

0 comments on commit a205701

Please sign in to comment.