@@ -27,7 +27,12 @@ jobs:
27 toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}
27 toolchain: ${{ env.MIN_SUPPORTED_RUST_VERSION }}
28 default: true
28 default: true
29 profile: minimal # minimal component installation (ie, no documentation)
29 profile: minimal # minimal component installation (ie, no documentation)
30− components: clippy
30+ components: clippy, rustfmt
31+ - name: Ensure `cargo fmt` has been run
32+ uses: actions-rs/cargo@v1
31 - name: Run clippy (on minimum supported rust version to prevent warnings we can't fix)
36 - name: Run clippy (on minimum supported rust version to prevent warnings we can't fix)
32 uses: actions-rs/cargo@v1
37 uses: actions-rs/cargo@v1