chore(ci): Optimize CI runs

This commit is contained in:
Ed Page 2024-01-03 08:27:59 -06:00
parent a4c062667d
commit 61250a3613
2 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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