github: Run cargo fmt manually.

This should be seeing the rustfmt.toml file.
This commit is contained in:
parazyd
2021-12-19 21:49:25 +01:00
parent ecb4584513
commit 3a07a9d729

View File

@@ -36,8 +36,8 @@ jobs:
with:
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- run: |
rustup component add rustfmt
cargo fmt -- --check