summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLingMan <LingMan@users.noreply.github.com>2022-09-29 05:01:08 +0200
committerAndrew Gallant <jamslam@gmail.com>2022-09-29 07:44:13 -0400
commitb732c23e367dde2059e9160620f20756551a8a4f (patch)
treeabee13ee74dff7b5b1cf1d0db95c3b5cb7f302b6
parent49965703fae88d6c41e3d5433892c00de1358d3d (diff)
ci: use `cargo check`'s `--check` option directly
-rw-r--r--.github/workflows/ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 8466085c..87d9d746 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -188,8 +188,7 @@ jobs:
toolchain: stable
components: rustfmt
- name: Check formatting
- run: |
- cargo fmt --all -- --check
+ run: cargo fmt --all --check
docs:
name: Docs