chore(ci): Optimize CI runs

This commit is contained in:
Ed Page committed 2024-01-03 08:27:59 -06:00
1 parent a4c062667d
commit 61250a3613
2 files changed
+8 -4

No files matched your search

+1 -1
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
+7 -3
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