bevy/.github/workflows
MichiRecRoom b19f644c2f
The toml workflow job will now install taplo-cli using cargo-binstall (#18773)
# Objective
Avoid needing to compile `taplo-cli` every time we use it in CI.

## Solution
Use [cargo-binstall](https://github.com/cargo-bins/cargo-binstall) to
install `taplo-cli`.

cargo-binstall is different from `cargo install`, in that it will first
attempt download a precompiled `taplo-cli` binary, in an attempt to
avoid compilation. However, failing that (for any reason), it will fall
back to installing the binary through `cargo install`.

While installing `taplo-cli` from source is relatively fast (around
50-60s), this still provides a small speed boost to the job, by not
needing to spend time compiling `taplo-cli` from source at all.

## Note on how this affects workflows
This PR does have one side-effect: Should `taplo-cli` need to be
compiled from source at all, it is no longer guaranteed to use the
latest `stable` version of `rustc`. This may be considered problematic,
as `taplo-cli` doesn't appear to have a MSRV policy.

However, its MSRV (as of writing this PR) is `1.74` - a nearly 1.5 year
old version. This seems to imply that, if `taplo-cli`'s MSRV is ever
updated, it won't be to the absolute latest stable version of Rust until
said version is a few months old.

Combine that with [the Github Actions runner images being frequently
(and automatically) updated to use the latest Rust
tooling](https://github.com/actions/runner-images/pull/11957), and I
don't foresee `taplo-cli`'s MSRV being an issue in 99% of circumstances.

Still, there is the possibility of it being a problem in those 1% of
circumstances - if this is a concern, please let me know and I'll try to
fix it.

## Testing

This change was tested on my local fork. The specific job run can be
found
[here](https://github.com/LikeLakers2/bevy/actions/runs/14350945588/job/40229485624).

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
2025-05-06 00:26:10 +00:00
..
action-on-PR-labeled.yml Add basic release content tagging workflow (#18568) 2025-03-27 17:46:39 +00:00
ci-comment-failures.yml Fix CI comment workflow after 18196 (#18217) 2025-03-09 22:50:57 +00:00
ci.yml The toml workflow job will now install taplo-cli using cargo-binstall (#18773) 2025-05-06 00:26:10 +00:00
dependencies.yml add cancel in progress support to automated CI checks (#11130) 2024-02-28 16:07:29 +00:00
docs.yml Trait tags on docs.rs (#17758) 2025-02-11 22:13:38 +00:00
example-run-report.yml action shouldn't comment on a pr if last comment is from action (#18196) 2025-03-09 20:26:19 +00:00
example-run.yml Split example runs to their own GitHub workflow (#18039) 2025-02-25 23:30:31 +00:00
post-release.yml Fix workflows for version bump (#17162) 2025-01-05 20:27:58 +00:00
send-screenshots-to-pixeleagle.yml Split example runs to their own GitHub workflow (#18039) 2025-02-25 23:30:31 +00:00
validation-jobs.yml Split example runs to their own GitHub workflow (#18039) 2025-02-25 23:30:31 +00:00
weekly.yml Automatically close weekly ci issue if weekly ci succeeds (#18016) 2025-02-25 19:21:04 +00:00
welcome.yml Fix Welcome Contributors CI (#15123) 2024-09-09 17:52:11 +00:00