From a2ba8fe889d3015a518a06eb3bd53d503e433007 Mon Sep 17 00:00:00 2001 From: Joshua Barr Date: Wed, 1 Oct 2025 08:46:48 -0700 Subject: [PATCH] Use GitHub runner built-in Rust support --- .github/workflows/build.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad0dfa78..fab55617 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,23 +19,10 @@ jobs: with: submodules: recursive - name: Rust Toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true + run: rustup toolchain install stable --profile minimal --component rustfmt - name: Cargo Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --verbose --workspace + run: cargo build --verbose --workspace - name: Cargo Test - uses: actions-rs/cargo@v1 - with: - command: test - args: --verbose --workspace + run: cargo test --verbose --workspace - name: Rustfmt Check - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --verbose -- --check + run: cargo fmt --verbose -- --check