Skip to content

Commit

Permalink
Use different caches for different jobs (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q authored Jul 3, 2023
1 parent 61bb2ed commit cc5db29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/with-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
gcc-version: 11
- uses: Swatinem/rust-cache@v2
with:
prefix-key: v0
prefix-key: v0-conan
- name: Build benchmarks with all features
run: cargo bench --verbose --no-run --all-features

Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
if: ${{ matrix.cache }}
with:
prefix-key: v0-rust-${{ matrix.rust }}
prefix-key: v0-rust-${{ matrix.rust }}-conan
- name: Build with all features
run: cargo build --verbose --all-features
- name: Tests with all features
Expand Down

0 comments on commit cc5db29

Please sign in to comment.