Update release-cross.yml

This commit is contained in:
Thomas Schönauer
2022-11-02 14:53:49 +00:00
committed by GitHub
parent ce0c0c4314
commit c406fe2775

View File

@@ -21,12 +21,24 @@ jobs:
override: true override: true
target: ${{ matrix.target }} target: ${{ matrix.target }}
components: rustfmt, clippy 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 - uses: actions-rs/cargo@v1.0.1
name: Run clippy (All features) name: Run clippy (All features)
with: with:
command: clippy command: clippy
use-cross: true 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 - uses: actions-rs/cargo@v1.0.1
name: Run tests name: Run tests
with: with: