Discard use of actions-rs/cargo
This commit is contained in:
parent
3a77e2f7ca
commit
3725ce17b9
|
@ -24,28 +24,16 @@ 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:
|
- run: cargo test --all-features
|
||||||
command: build
|
- run: cargo test --no-default-features
|
||||||
args: --all-features --all-targets
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: --all-features
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: --no-default-features
|
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: dtolnay/rust-toolchain@1.70
|
- uses: dtolnay/rust-toolchain@1.70
|
||||||
- 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
|
||||||
|
@ -55,21 +43,11 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
components: rustfmt, clippy, rust-docs
|
components: rustfmt, clippy, rust-docs
|
||||||
- uses: actions-rs/cargo@v1
|
- run: cargo fmt --all -- --check
|
||||||
with:
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
command: fmt
|
- run: cargo doc --no-deps --all-features --document-private-items
|
||||||
args: --all -- --check
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
if: always()
|
|
||||||
with:
|
|
||||||
command: clippy
|
|
||||||
args: --workspace --all-targets --all-features -- -D warnings
|
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
env:
|
env:
|
||||||
RUSTDOCFLAGS: "-D warnings"
|
RUSTDOCFLAGS: "-D warnings"
|
||||||
with:
|
|
||||||
command: doc
|
|
||||||
args: --no-deps --all-features --document-private-items
|
|
||||||
|
|
||||||
audit:
|
audit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue