Skip to content

Conversation

kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Sep 16, 2025

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 locally

Are these changes tested?

I verified by upgrading datafusion from 48 to 49 locally and continuously run make check-msrv

Comment on lines 162 to 167
- 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 }}
Copy link
Contributor Author

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

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a 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!

@liurenjie1024 liurenjie1024 merged commit 549c383 into apache:main Sep 18, 2025
11 checks passed
@kevinjqliu kevinjqliu deleted the kevinjqliu/add-msrv-check-to-makefile branch September 18, 2025 14:28
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.

infra: improve MSRV check

3 participants