Discard use of actions-rs/cargo

This commit is contained in:
Dirkjan Ochtman 2024-10-23 09:56:14 +02:00
parent 4f58bfb72e
commit 01ba7656af
1 changed files with 4 additions and 17 deletions

View File

@ -24,16 +24,10 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- uses: actions-rs/cargo@v1
with:
command: build
args: --all-features --all-targets
- run: cargo check --all-features --all-targets
env:
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
- uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
- run: cargo test --all-features
env:
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
@ -45,15 +39,8 @@ jobs:
with:
toolchain: stable
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- uses: actions-rs/cargo@v1
if: always()
with:
command: clippy
args: --workspace --all-targets --all-features -- -D warnings
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- -D warnings
env:
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518