diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 726239a..81b07d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: - toolchain: ${{ matrix.rust }} - override: true + toolchain: ${{ matrix.rust }} - name: Build the code run: cargo build --verbose - name: Test the code @@ -31,9 +30,6 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - override: true + uses: dtolnay/rust-toolchain@stable - name: Check formatting run: cargo fmt --check