From a691096063841f16c401e37d5978725ae6b8c4f5 Mon Sep 17 00:00:00 2001 From: Tim Robinson Date: Thu, 17 Jun 2021 15:10:45 +0100 Subject: [PATCH] CI installs `rustfmt` where needed Only the stable toolchain appears to install `rustfmt` by default --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e2b771e6..1a76ccab 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -31,6 +31,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.rust }} + components: rustfmt default: true - uses: actions-rs/cargo@v1 with: