bevy
bevy copied to clipboard
Improve ci - install binaries instead of compiling
Objective
Reduce time compiling crates in CI.
Solution
- Install binaries using https://github.com/taiki-e/install-action/tree/v2/
install-actions uses github releases to find the binaries. Uses cargo-binstall as a fallback
Also would you mind rebasing onto main? A few of the required checks have been modified after this PR was created, which is why it says some checks haven't been completed yet.
please put the version of the action everywhere
Agreed, it would be good to target specific versions of the binaries so we don't have breaking changes.
- uses: taiki-e/install-action@v2
with:
tool: [email protected]
I don't think we need to specify the patch version, but certainly the minor and major versions.