From e7dbec0a939a1d6ae1161d13fc31b62220e09abb Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 3 Jan 2024 08:30:26 -0600 Subject: [PATCH] chore(ci): Ensure rustfmt is available --- .github/workflows/ci.yml | 1 + .github/workflows/rust-next.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb54f9b..5671d38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} + components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Build run: cargo test --no-run --workspace --all-features diff --git a/.github/workflows/rust-next.yml b/.github/workflows/rust-next.yml index 8469e8e..6ea8b01 100644 --- a/.github/workflows/rust-next.yml +++ b/.github/workflows/rust-next.yml @@ -31,6 +31,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} + components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Default features run: cargo test --workspace @@ -48,6 +49,7 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: stable + components: rustfmt - uses: Swatinem/rust-cache@v2 - name: Update dependencues run: cargo update