Skip to content

msrv: a command input - check or test - #28

Open
gronke wants to merge 1 commit into
mainfrom
feat/msrv-command
Open

msrv: a command input - check or test#28
gronke wants to merge 1 commit into
mainfrom
feat/msrv-command

Conversation

@gronke

@gronke gronke commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Adds a command input to the msrv action: check (default, unchanged) or test, which runs cargo test inside the MSRV image so dev-dependencies and the test suite are held to the declared floor too - a dev-dep raising its MSRV currently drifts past a check-only gate unnoticed.

  • msrv.sh validates the value (check|test) and runs cargo $command with the same pkg/offline/--locked/features shaping; the read-only source mount is unchanged, so tests that write into the checkout fail by design (documented on the input).
  • Step name reflects the chosen command; both READMEs document it.
  • Downstream: inspection's sealed MSRV job flips to command: "test" once a release carries this (its dev-dep MSRVs, jsonschema 1.83, proptest 1.66).

cargo test on the MSRV extends the floor to dev-dependencies and the test suite; the source stays read-only, so tests must not write into the checkout.
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