From 02fd6e034fa8df3781a423d5244eba21c1300861 Mon Sep 17 00:00:00 2001 From: Eugene Date: Sat, 24 Feb 2024 21:21:24 +0400 Subject: [PATCH] fix syntax --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cd4a69..20a4461 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,8 @@ jobs: toolchain: [stable, beta] steps: - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@${{ matrix.toolchain }} + with: + toolchain: ${{ matrix.toolchain }} - run: cargo fmt --check - run: cargo clippy -- -D warnings @@ -39,7 +40,8 @@ jobs: toolchain: [stable, beta] steps: - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@${{ matrix.toolchain }} + with: + toolchain: ${{ matrix.toolchain }} - uses: Swatinem/rust-cache@v2 - run: cargo test --all-features