diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0dc3e08..daa3df2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,6 +34,13 @@ jobs: toolchain: ${{ matrix.rust }} components: rustfmt, clippy default: true + - uses: actions-rs/cargo@v1 + with: + command: fmt + args: -- --check + - uses: actions-rs/cargo@v1 + with: + command: clippy - uses: actions-rs/cargo@v1 with: command: check @@ -54,10 +61,3 @@ jobs: with: command: check args: --no-default-features - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: -- --check - - uses: actions-rs/cargo@v1 - with: - command: clippy