feat: reduced number of steps. Updated tool versions

Properly uses the action workflow tools that were in use before. By using the rust installer action, to also install the tools I need.

Setup to use the cargo-cache installer for cargo-cross rather than a manual install, this should allow caching between runs
This commit is contained in:
2026-09-09 11:03:41 -05:00
parent 7f8b28bf95
commit 9bcfd7d966
+11 -13
View File
@@ -16,22 +16,18 @@ jobs:
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Install cargo fmt
run: rustup component add rustfmt
- name: Install cargo clippy
run: rustup component add clippy
- name: Install cargo sort
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1
with:
tool: cargo-sort@1.0.9
components: rustfmt, clippy
- name: Install cargo sort
uses: taiki-e/cache-cargo-install-action@v3 # v3
with:
tool: cargo-sort
- name: Install cargo machete
uses: taiki-e/cache-cargo-install-action@caa6f48d18d42462f9c30df89e2b4f71a42b7c2c # v2.0.1
uses: taiki-e/cache-cargo-install-action@v3 # v3
with:
tool: cargo-machete@0.7.0
tool: cargo-machete
- name: Cache cargo dependencies
uses: actions/cache@v4
@@ -73,7 +69,9 @@ jobs:
targets: x86_64-unknown-linux-musl
- name: Install Cross
run: cargo install cargo-cross
uses: taiki-e/cache-cargo-install-action@v3 # v3
with:
tool: cargo-cross
- name: Cache cargo dependencies
uses: actions/cache@v4