Skip to content

Commit

Permalink
👷 Set restore-keys for increase cache hit rate
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanTsune committed Aug 1, 2024
1 parent 1c4e46b commit 9595a6b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:
with:
path: target
key: ${{ matrix.os }}-rust-${{ steps.install_rust.outputs.version }}-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ matrix.os }}-rust-${{ steps.install_rust.outputs.version }}
- name: Run test
run: cargo test --locked --release
env:
Expand Down

0 comments on commit 9595a6b

Please sign in to comment.