Discard use of actions-rs/cargo
This commit is contained in:
parent
4f58bfb72e
commit
01ba7656af
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue