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