From a7762787d85e4cf25dfccc41930b2d4e1785b7e1 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 3 Jan 2024 08:29:34 -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 5c2652d..7cbeead 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 0324095..38b2a4e 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