Skip to content

Commit

Permalink
👷 Updating caching to have extra restore keys
Browse files Browse the repository at this point in the history
  • Loading branch information
jossmoff committed Nov 12, 2023
1 parent 8f43b82 commit 97e89af
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ jobs:
uses: actions/cache/restore@v3
with:
path: .mutmut-cache
key: ${{ runner.os }}-mutmut-cache-${{ hashFiles('bookshelf/*.py') }}
key: mutmut-cache-${{ github.head_ref }}-${{ hashFiles('bookshelf/*.py') }}
restore-keys: |
mutmut-cache-${{ github.head_ref }}
mutmut-cache-main
- name: 🦠 Run Mutation Tests
run: |
Expand All @@ -54,4 +57,4 @@ jobs:
uses: actions/cache/save@v3
with:
path: .mutmut-cache
key: ${{ runner.os }}-mutmut-cache-${{ hashFiles('bookshelf/*.py') }}
key: mutmut-cache-${{ github.head_ref }}-${{ hashFiles('bookshelf/*.py') }}

0 comments on commit 97e89af

Please sign in to comment.