From d0fd2dc914d5d6dd560451df47b61bb06c1a03e5 Mon Sep 17 00:00:00 2001 From: DreaMer963 Date: Sun, 10 Oct 2021 18:59:57 +0800 Subject: [PATCH] enhance fmt and clippy --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2a7bf850c08..f66071db0c5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,7 @@ jobs: - name: Install clippy run: rustup component add clippy - name: "clippy --all" - run: cargo clippy --all --tests + run: cargo clippy --all --tests -- -D warnings fmt: name: fmt @@ -64,8 +64,8 @@ jobs: - uses: Swatinem/rust-cache@v1 - name: Install rustfmt run: rustup component add rustfmt - - - run: cargo fmt + - name: Run + run: cargo fmt --all -- --check miri-checks: name: Miri