CI installs rustfmt where needed

Only the stable toolchain appears to install `rustfmt` by default
This commit is contained in:
Tim Robinson 2021-06-17 15:10:45 +01:00
parent 5c20caaab4
commit a691096063

View file

@ -31,6 +31,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
default: true
- uses: actions-rs/cargo@v1
with: