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
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust }}
|
toolchain: ${{ matrix.rust }}
|
||||||
- uses: actions-rs/cargo@v1
|
- run: cargo check --all-features --all-targets
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --all-features --all-targets
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
|
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
|
||||||
- uses: actions-rs/cargo@v1
|
- run: cargo test --all-features
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: --all-features
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
|
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
|
||||||
|
|
||||||
|
@ -45,15 +39,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- uses: actions-rs/cargo@v1
|
- run: cargo fmt --all -- --check
|
||||||
with:
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
command: fmt
|
|
||||||
args: --all -- --check
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
if: always()
|
|
||||||
with:
|
|
||||||
command: clippy
|
|
||||||
args: --workspace --all-targets --all-features -- -D warnings
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
|
CARGO_INCREMENTAL: 0 # https://github.com/rust-lang/rust/issues/101518
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue