ci: Use install-action instead of cargo install to speed up CI#23477
Conversation
|
The step of installing https://github.com/apache/datafusion/actions/runs/29175818974/job/86604744160 Other See https://github.com/taiki-e/install-action/blob/main/TOOLS.md |
comphead
left a comment
There was a problem hiding this comment.
Thanks @2010YOUY01 lets see this in practice, hope it would make easier with retries and https issues during download
|
Thanks @2010YOUY01 and @comphead |
## Which issue does this PR close? <!-- We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. For example `Closes apache#123` indicates that this PR will close issue apache#123. --> - Closes #. ## Rationale for this change <!-- Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed. Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes. --> Follow-up to apache#23477. The original PR missed one instance; this PR applies the same change to that case. ## What changes are included in this PR? <!-- There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR. --> ## Are these changes tested? <!-- We typically require tests for all PRs in order to: 1. Prevent the code from being accidentally broken by subsequent changes 2. Serve as another way to document the expected behavior of the code If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## Are there any user-facing changes? <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. -->
Which issue does this PR close?
Rationale for this change
For CI dependencies installed with
cargo install, it's possible to useinstall-actioninstead for faster setup. (former compiles the binary, the latter directly download the release version) , each of them should get ~1min faster.What changes are included in this PR?
install-actioninstead ofcargo installfor existing CI jobsgrep cargo installfor all Github Action scripts)Are these changes tested?
Are there any user-facing changes?