diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4fb3e4a4..dc544a95 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -251,15 +251,11 @@ jobs: with: toolchain: stable components: rustfmt + - run: cargo fmt --manifest-path ${{ matrix.path }} --all -- --check - run: cargo build --manifest-path ${{ matrix.path }} - run: cargo test --manifest-path ${{ matrix.path }} - if: ${{ contains(matrix.path, 'core/Cargo.toml') }} run: cargo test --manifest-path ${{ matrix.path }} --features mock - - uses: dtolnay/rust-toolchain@master - with: - toolchain: nightly - components: rustfmt - - run: cargo fmt --manifest-path ${{ matrix.path }} --all -- --check issues-matrix: name: Issues Matrix