Skip to content

Commit 2ca9793

Browse files
committed
GitHub Actions SA - better cache
1 parent 6a4b30c commit 2ca9793

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/static-analysis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ jobs:
129129
uses: actions/cache@v3
130130
with:
131131
path: ./tmp
132-
key: "result-cache-v6-${{ matrix.php-version }}"
132+
key: "result-cache-v7-${{ matrix.php-version }}-${{ github.run_id }}"
133+
restore-keys: |
134+
result-cache-v7-${{ matrix.php-version }}-
133135
134136
- name: "PHPStan with result cache"
135137
run: |

0 commit comments

Comments
 (0)