diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0cc6972..223a119 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -24,16 +24,10 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.rust }} - - uses: actions-rs/cargo@v1 - with: - command: build - args: --all-features --all-targets + - run: cargo check --all-features --all-targets env: CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518 - - uses: actions-rs/cargo@v1 - with: - command: test - args: --all-features + - run: cargo test --all-features env: CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518 @@ -45,15 +39,8 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - uses: actions-rs/cargo@v1 - if: always() - with: - command: clippy - args: --workspace --all-targets --all-features -- -D warnings + - run: cargo fmt --all -- --check + - run: cargo clippy --all-targets --all-features -- -D warnings env: CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518