From 320cbf5b75c6a1d698d92fbe8e3e7f8b568efbae Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Thu, 22 Jun 2023 16:08:09 +0800 Subject: [PATCH] Remove nightly from Examples --- .github/workflows/rust.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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