Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run CI for the msrv and latest rust version #341

Merged
merged 26 commits into from
Jan 9, 2024
Merged

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented Jan 4, 2024

What

Run CI for the msrv and latest rust version. Run clippy and test for msrv, and check and test for latest.

Why

Now that stable releases of the lib have gone out we shouldn't require a new version of Rust in subsequent releases, so we should ensure that the lib continues to build on the msrv. We should also test the latest rust version too since many folks will upgrade to it.

The reason for clippy on msrv and check on latest is because clippy rules change dramatically from one release to the next. While the lib may pass the clippy rules on the msrv, it won't necessarily pass them on latest, because latest in this CI is truly latest available and not the latest we've updated the clippy rules for. We might want to change this in the future, but it's just one way to prevent us from being blocked on PRs because a new Rust was just released with new clippy rules.

Close stellar/rs-soroban-env#1311

@leighmcculloch leighmcculloch marked this pull request as ready for review January 4, 2024 03:25
@leighmcculloch leighmcculloch added this pull request to the merge queue Jan 9, 2024
Merged via the queue into main with commit 24516c0 Jan 9, 2024
10 checks passed
@leighmcculloch leighmcculloch deleted the rs-soroban-env#1311 branch January 9, 2024 04:20
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.

Updating rust-version going forward
2 participants