Skip to content

Commit c133503

Browse files
committed
More sensible cache key
1 parent 19d5ff2 commit c133503

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ jobs:
5555
- name: phpstan-cache
5656
uses: actions/[email protected]
5757
with:
58-
key: phpstan-${{ github.ref }}-${{ matrix.php-version }}-${{ matrix.install-args }}-${{ github.sha }}
58+
key: phpstan-${{ matrix.php-version }}-${{ matrix.install-args }}-${{ github.ref }}-${{ github.sha }}
5959
path: .phpstan-cache
6060
restore-keys: |
61-
phpstan-${{ github.ref }}-${{ matrix.php-version }}-${{ matrix.install-args }}-
62-
phpstan-${{ github.ref }}-${{ matrix.php-version }}-
63-
phpstan-${{ github.ref }}-
61+
phpstan-${{ matrix.php-version }}-${{ matrix.install-args }}-${{ github.ref }}-
62+
phpstan-${{ matrix.php-version }}-${{ matrix.install-args }}-
63+
phpstan-${{ matrix.php-version }}-
6464
phpstan-
6565
6666
- name: phpstan

0 commit comments

Comments
 (0)