-
Notifications
You must be signed in to change notification settings - Fork 79
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: switch from quickinstall to install-action
#2021
Conversation
Nice side-effect: install tools now only takes 14s instead of 51s (for error-stack). |
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.
Worth a try 🎉
However, do we want to try out the install action instead? It fallsback to cargo-bininstall
.
Nice side-effect: install tools now only takes 14s instead of 51s (for error-stack).
Well, I doubt, that cargo install bininstall
is faster than cargo install quickinstall
It isn't but we're circumventing |
install-action
|
(This does not yet work, need to wait for upstream)
Same here, but I need this to be ready (not draft), as otherwise, I am unable to run our CI suite |
Triage: Upstream issue is resolved but no release was filed yet. |
Triage: new release has been cut upstream, will run CI a couple of time to ensure no regressions. |
CI ran five times with the new version, each time with ~14 tool installations, therefore I think it is safe to say the previous bug has been fixed. |
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.
Sounds good!
cargo quickinstall cargo-hack --version 0.5.26 || cargo install --version 0.5.26 cargo-hack | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: cargo-make@0.36.3,cargo-hack@0.5.26 |
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.
Too bad it requires a comma-separated list, an array would be easier to read.
This reverts commit d73b75a
🌟 What is the purpose of this PR?
Currently, we use
quickinstall
to install all dependencies required, but (especially the lint job) jobs have been failing spuriously. This tries to fix the issue by installing the big brother ofcargo-quickinstall
:cargo-binstall
, which is from the same organization, but more actively maintained and active.binstall
falls back to thequickinstall
repo of precompiled binaries if available.🔗 Related links
📹 Demo