From 73be5b2ba1a95e6c9e0a9f856dcc4cde2157fbeb Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 28 Jul 2024 11:04:02 +0300 Subject: CI: Switch leftover action to dtolnay/rust-toolchain Missed this I guess. --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 676ada87..6d11515f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -153,11 +153,9 @@ jobs: with: show-progress: false - - name: Install Rust - run: | - rustup set auto-self-update check-only - rustup toolchain install nightly --profile minimal --component rustfmt - rustup override set nightly + - uses: dtolnay/rust-toolchain@nightly + with: + components: rustfmt - name: Run rustfmt run: cargo fmt --all -- --check -- cgit