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: