2 Commits
Author SHA1 Message Date
melfely 50ecad1842 fixes: Fixed argument ordering for cargo-cross
Crossplatform Linting && Build / Linting (push) Failing after 2m9s
Crossplatform Linting && Build / Build (push) Skipped
2026-09-09 11:06:03 -05:00
melfely 9bcfd7d966 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
2026-09-09 11:03:41 -05:00
+15 -17
View File
@@ -16,22 +16,18 @@ jobs:
- name: Setup Rust - name: Setup Rust
uses: dtolnay/rust-toolchain@stable 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: 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 - 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: with:
tool: cargo-machete@0.7.0 tool: cargo-machete
- name: Cache cargo dependencies - name: Cache cargo dependencies
uses: actions/cache@v4 uses: actions/cache@v4
@@ -73,7 +69,9 @@ jobs:
targets: x86_64-unknown-linux-musl targets: x86_64-unknown-linux-musl
- name: Install Cross - 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 - name: Cache cargo dependencies
uses: actions/cache@v4 uses: actions/cache@v4
@@ -90,13 +88,13 @@ jobs:
- name: Build for Linux x86 (GNU and MUSL) - name: Build for Linux x86 (GNU and MUSL)
run: | run: |
cargo build --release --target x86_64-unknown-linux-gnu --locked cargo build --target x86_64-unknown-linux-gnu --release --locked
cargo build --release --target x86_64-unknown-linux-musl --locked cargo build --target x86_64-unknown-linux-musl --release --locked
- name: Build for Linux aarch64 (GNU and MUSL) - name: Build for Linux aarch64 (GNU and MUSL)
run: | run: |
cargo cross --release --target aarch64-unknown-linux-gnu --locked cargo cross --target aarch64-unknown-linux-gnu --release --locked
cargo cross --release --target aarch64-unknown-linux-musl --locked cargo cross --target aarch64-unknown-linux-musl --release --locked