Check --all-targets in CI (#1395)
This commit is contained in:
parent
8d6c2580f4
commit
4721a0a680
1 changed files with 3 additions and 3 deletions
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
|
@ -51,19 +51,19 @@ jobs:
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --locked --all-features
|
args: --locked --all-features --all-targets
|
||||||
|
|
||||||
- name: Check default features
|
- name: Check default features
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --locked
|
args: --locked --all-targets
|
||||||
|
|
||||||
- name: Check no default features
|
- name: Check no default features
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --locked --no-default-features --lib
|
args: --locked --no-default-features --lib --all-targets
|
||||||
|
|
||||||
- name: Test doc-tests
|
- name: Test doc-tests
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
|
|
Loading…
Reference in a new issue