ci: use cargo check's --check option directly

This commit is contained in:
LingMan
2022-09-29 05:01:08 +02:00
committed by Andrew Gallant
parent 49965703fa
commit b732c23e36

View File

@@ -188,8 +188,7 @@ jobs:
toolchain: stable toolchain: stable
components: rustfmt components: rustfmt
- name: Check formatting - name: Check formatting
run: | run: cargo fmt --all --check
cargo fmt --all -- --check
docs: docs:
name: Docs name: Docs