Remove usage of actions-rs/cargo
This commit is contained in:
parent
a27ef58987
commit
8d18a91b17
|
@ -26,10 +26,7 @@ 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 test --all-features --all-targets
|
||||||
with:
|
|
||||||
command: build
|
|
||||||
args: --all-features --all-targets
|
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -38,10 +35,7 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@master
|
- uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
toolchain: 1.63.0
|
toolchain: 1.63.0
|
||||||
- uses: actions-rs/cargo@v1
|
- run: cargo check --lib --all-features
|
||||||
with:
|
|
||||||
command: check
|
|
||||||
args: --lib --all-features
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -50,15 +44,8 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
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
|
|
||||||
|
|
||||||
audit:
|
audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue