Skip to content

Commit

Permalink
test caching binary in checkduplicates CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TabulateJarl8 committed Nov 18, 2024
1 parent b6e8f57 commit 332891e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/check_duplicates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,20 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Cache checkduplicates binary
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
tests/checkduplicates/target/release/
key: ${{ runner.os }}-cargo-${{ hashFiles('tests/checkduplicates/Cargo.lock', 'tests/checkduplicates/Cargo.toml', 'tests/checkduplicates/src/**') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Check for duplicate facts
run: |
cd tests/checkduplicates
Expand Down

0 comments on commit 332891e

Please sign in to comment.