Don't unnecessarily install rustfmt in CI

This commit is contained in:
Oliver Hamlet
2022-11-09 00:04:41 +00:00
parent 0b802e9eb3
commit 761fb9ecfc
+3 -6
View File
@@ -11,13 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install Rustfmt
run: |
rustup component add rustfmt
rustfmt --version
- name: Check formatting
run: cargo fmt --all -- --check
run: |
cargo fmt -- --version
cargo fmt --all -- --check
windows:
runs-on: windows-2019