Skip to content

Commit

Permalink
Add caching for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JamyGolden committed May 14, 2024
1 parent 8e98050 commit 837b841
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
~/.cargo/bin
key: ${{ needs.setup-environment.outputs.cargo_cache_key }}
id: cache-cargo-test

- name: Cargo test
run: cargo test --release --workspace --all-targets --all-features
Expand Down

0 comments on commit 837b841

Please sign in to comment.