Skip to content

Commit

Permalink
Use ref name instead of SHA for rubocop cache (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
lovro-bikic authored Sep 28, 2023
1 parent 228e294 commit ce3d228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.RUBOCOP_CACHE_ROOT }}
key: ${{ runner.os }}-rubocop-cache-${{ github.sha }}
key: ${{ runner.os }}-rubocop-cache-${{ github.ref_name }}
restore-keys: |
${{ runner.os }}-rubocop-cache-
- name: Set up Node
Expand Down

0 comments on commit ce3d228

Please sign in to comment.