Skip to content

Commit

Permalink
more caching
Browse files Browse the repository at this point in the history
  • Loading branch information
tedil committed Nov 27, 2024
1 parent 99b60a2 commit c1eef27
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,15 +104,20 @@ jobs:
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: Swatinem/rust-cache@v2
with:
cache-directories: |
~/.cargo/registry/src/**/librocksdb-sys-*
- name: cargo build
run: cargo build --verbose

- name: cargo test
run: cargo test --verbose

- uses: Swatinem/rust-cache@v2
if: ${{ needs.release-please.outputs.release_created }}
with:
key: "covtest"
cache-directories: |
~/.cargo/registry/src/**/librocksdb-sys-*
Expand Down

0 comments on commit c1eef27

Please sign in to comment.