From 5ef8565509d025946e2c7fb877fa4d4256e61b3e Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Fri, 27 Mar 2020 18:54:06 +0600 Subject: [PATCH] Move fmtcheck down --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ec2a488..2f45616a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,13 +50,6 @@ jobs: command: test args: --verbose --all-features - - name: fmt - uses: actions-rs/cargo@v1 - if: matrix.rust == 'nightly' - with: - command: fmt - args: --all -- --check - - name: stable/beta clippy uses: actions-rs/cargo@v1 if: matrix.rust == 'stable' || matrix.rust == 'beta' @@ -70,3 +63,10 @@ jobs: with: command: clippy args: --all-targets --all-features -- -D warnings + + - name: fmt + uses: actions-rs/cargo@v1 + if: matrix.rust == 'nightly' + with: + command: fmt + args: --all -- --check