Skip to content

Use pre-built cargo-hack in CI #322

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

Merged
merged 1 commit into from
Aug 13, 2022
Merged

Conversation

LingMan
Copy link
Contributor

@LingMan LingMan commented Jul 27, 2022

Use pre-built cargo-hack in CI

The authors of cargo-hack provide an Action to use in CI and avoid having to build from source.
Currently the MSRV CI job fails because latest cargo-hack requires 1.56 to build while the test is
run with 1.46.
Simply running cargo-hack only requies 1.26 though.

This should also speedup CI runs, since we don't have to build cargo-hack each time.

@Thomasdezeeuw
Copy link
Collaborator

I've just started the v0.4.x branch so it's not actually used yet. So let's wait until we merge #320 and we actually start with the master/v0.4 split.

@LingMan LingMan changed the title Fix CI Use pre-built cargo-hack in CI Jul 27, 2022
@LingMan
Copy link
Contributor Author

LingMan commented Jul 27, 2022

Alright, guess you'll add the v0.4.x branch to CI with #320 then. I've dropped the second commit and updated the PR description.

The authors of cargo-hack provide an Action to use in CI and avoid having to build from source.
Currently the MSRV CI job fails because latest cargo-hack requires 1.56 to build while the test is
run with 1.46.
Simply running cargo-hack only requies 1.26 though.

This should also speedup CI runs, since we don't have to build cargo-hack each time.
@Thomasdezeeuw Thomasdezeeuw merged commit c3f76b5 into rust-lang:master Aug 13, 2022
@Thomasdezeeuw
Copy link
Collaborator

Thanks @LingMan.

@LingMan LingMan deleted the ci branch August 13, 2022 19:17
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.

2 participants