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

ci: add msrv check job #1522

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

king-11
Copy link
Contributor

@king-11 king-11 commented Jan 24, 2025

related to #1520

Signed-off-by: Lakshya Singh <[email protected]>
@king-11 king-11 requested review from a team as code owners January 24, 2025 05:07
.github/workflows/ci.yml Outdated Show resolved Hide resolved
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: 1.74.0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed this at first so maybe just to make it obvious:

Suggested change
toolchain: 1.74.0
# Check that tests pass using our MSRV:
toolchain: 1.74.0

Copy link
Member

@niklasad1 niklasad1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks overall good but the UI tests won't pass for all rustc compilers down to 1.74.0

Either just type-check the code with 1.74.0 or disable the tests in the proc-macro-crate.

@king-11
Copy link
Contributor Author

king-11 commented Jan 24, 2025

@niklasad1 what do you mean by type check? As in build?

@niklasad1
Copy link
Member

niklasad1 commented Jan 24, 2025

@niklasad1 what do you mean by type check? As in build?

cargo check --all-targets but cargo build would work as well doesn't matter to me. I expect both to find whether a certain toolchain is supported or not ^

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.

3 participants