Skip to content

Commit

Permalink
Add rubocop cache restore key by github.ref
Browse files Browse the repository at this point in the history
  • Loading branch information
lovro-bikic committed Jan 12, 2022
1 parent 903f041 commit 6a11eb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ jobs:
uses: actions/cache@v2
with:
path: tmp/rubocop-cache
key: ${{ runner.os }}-rubocop-cache-${{ github.sha }}
key: ${{ runner.os }}-rubocop-cache-${{ github.ref }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-rubocop-cache-${{ github.ref }}-
${{ runner.os }}-rubocop-cache-
- name: Set up Node
uses: actions/setup-node@v2
Expand Down

0 comments on commit 6a11eb5

Please sign in to comment.