ci: GitHub Actions hygeine and MSRV 1.88 - #1693
Open
notpeter wants to merge 4 commits into
Open
Conversation
Contributor
Author
Looks in main our actual MSRV is 1.88.0 (2025-06-26). dropshot/dropshot_endpoint/src/api_trait.rs Line 234 in 9bd5107 To support 1.85, in addition to rolling back subprocess = "=0.2.9" # (2022-05-15) 0.2.10+ requires Rust 1.88
trybuild = "=1.0.119" # (2026-08-02) 1.0.120+ requires Rust 1.88
rcgen = "=0.14.7" # (2026-01-19) 0.14.8+ requires Rust 1.88So I've gone ahead and explicitly bumped MSRV to 1.88 (from 1.85). |
Contributor
Author
|
This requires adjusting the required test passage configuration in the GitHub repo settings. Remove: Add: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
# v7.0.0)rustupis in base runner)rustup defaultto using explicitRUSTUP_TOOLCHAIN,as the former is overridden by the existence of a
rust-toolchain.tomlCARGO_INCREMENTAL=0to match the previous behavior provided by dtolnay/rust-toolchain.trybuildas a dedicated ubuntu job, rather than as part of the matrix because rustc output differs between (stable, msrv).I think it's ok to not run this on every platform as the rustc output should be (has been) identical between platforms and if not, it's a rustc bug not a dropshot issue.
Before:
build-and-test (macos-14, all, 1.85)After:
build-and-test (macos-14, all, msrv)Unchanged:
build-and-test (macos-14, all, stable)Note
Until this change we were not actually testing under our specified MSRV (1.85)
Which meant we didn't realize that our MSRV was actually 1.88.
See example run output