mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
chore(ci): Optimize CI runs
This commit is contained in:
parent
a4c062667d
commit
61250a3613
2 changed files with 8 additions and 4 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
|||
toolchain: ${{ matrix.rust }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Build
|
||||
run: cargo test --no-run --workspace --all-features
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Default features
|
||||
run: cargo test --workspace
|
||||
- name: All features
|
||||
|
|
10
.github/workflows/rust-next.yml
vendored
10
.github/workflows/rust-next.yml
vendored
|
@ -32,6 +32,8 @@ jobs:
|
|||
with:
|
||||
toolchain: ${{ matrix.rust }}
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Default features
|
||||
run: cargo test --workspace
|
||||
- name: All features
|
||||
|
@ -51,9 +53,11 @@ jobs:
|
|||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Update dependencues
|
||||
run: cargo update
|
||||
- name: Build
|
||||
run: cargo test --workspace --no-run
|
||||
- name: Default features
|
||||
run: cargo test --workspace --all-targets
|
||||
run: cargo test --workspace
|
||||
- name: All features
|
||||
run: cargo test --workspace --all-targets --all-features
|
||||
run: cargo test --workspace --all-features
|
||||
- name: No-default features
|
||||
run: cargo test --workspace --all-targets --no-default-features
|
||||
run: cargo test --workspace --no-default-features
|
||||
|
|
Loading…
Reference in a new issue