-
Notifications
You must be signed in to change notification settings - Fork 332
infra: add check-msrv to Makefile #1680
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
infra: add check-msrv to Makefile #1680
Conversation
.github/workflows/ci.yml
Outdated
- name: Setup Nightly Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
- name: Setup MSRV Rust toolchain | ||
uses: ./.github/actions/setup-builder | ||
with: | ||
rust-version: ${{ env.rust_msrv }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs both nightly and MSRV toolchain because
cargo generate-lockfile -Z direct-minimal-versions
requires nightly specified by rust-toolchain.toml
cargo +1.87 check --locked --workspace
then requires MSRV
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kevinjqliu for this fix!
Which issue does this PR close?
What changes are included in this PR?
Add
make check-msrv
command to run the same MSRV check in CI and locallyAre these changes tested?
I verified by upgrading datafusion from 48 to 49 locally and continuously run
make check-msrv