From c406fe2775ea1fd5e2fa77c2ec77a07ad104ee81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sch=C3=B6nauer?= <37108907+DottoDev@users.noreply.github.com> Date: Wed, 2 Nov 2022 14:53:49 +0000 Subject: [PATCH] Update release-cross.yml --- .github/workflows/release-cross.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-cross.yml b/.github/workflows/release-cross.yml index be023180..4c0e7218 100644 --- a/.github/workflows/release-cross.yml +++ b/.github/workflows/release-cross.yml @@ -21,12 +21,24 @@ jobs: override: true target: ${{ matrix.target }} components: rustfmt, clippy + - uses: actions-rs/cargo@v1.0.1 + name: Check format + with: + use-cross: true + command: fmt + args: --all -- --check + - uses: actions-rs/cargo@v1.0.1 + name: Run clippy + with: + command: clippy + use-cross: true + args: --all-targets --locked --target ${{matrix.target}} -- -D warnings - uses: actions-rs/cargo@v1.0.1 name: Run clippy (All features) with: command: clippy use-cross: true - args: --locked --all-features --target ${{matrix.target}} + args: --locked --all-features --target ${{matrix.target}} -- -D warnings - uses: actions-rs/cargo@v1.0.1 name: Run tests with: