Skip to content

Commit bec6ce8

Browse files
committed
fix: cache key
1 parent 2583fd7 commit bec6ce8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
- uses: actions/cache@v3
4242
with:
4343
path: ${{ steps.composer-cache.outputs.dir }}
44-
key: ${{ runner.os }}-${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }}
44+
key: ${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-composer
4545
restore-keys: |
46-
${{ runner.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-
46+
${{ runner.os }}-${{ matrix.php }}-${{ matrix.laravel }}-${{ matrix.testbench }}-composer
4747
4848
- name: Setup PHP
4949
uses: shivammathur/setup-php@v2

0 commit comments

Comments
 (0)