From a532373ce8cd47a9455cb54ab6d672815d02a70d Mon Sep 17 00:00:00 2001 From: Hendrik Eeckhaut Date: Wed, 21 Jun 2023 11:09:43 +0200 Subject: [PATCH] Use toolchain from dtolnay instead of outdated actions-rs #273 --- .github/workflows/rust.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 10bef584c..148e09f11 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -36,10 +36,10 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Nightly with rustfmt - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: nightly components: rustfmt @@ -47,9 +47,8 @@ jobs: run: cargo +nightly fmt --check --all - name: Stable - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - uses: Swatinem/rust-cache@v2.0.0