Skip to content

Commit 921d535

Browse files
committed
added caching for vendor packages.
1 parent e86544a commit 921d535

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ jobs:
8080
with:
8181
path: |
8282
~/.composer/cache/files
83-
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
83+
key: ${{ runner.laravel }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
8484
restore-keys: |
85-
${{ runner.os }}-php-${{ matrix.php }}-
85+
${{ runner.laravel }}-php-${{ matrix.php }}-
8686
8787
- name: Adjust Laravel/Testbench version per matrix
8888
run: |
@@ -169,9 +169,9 @@ jobs:
169169
with:
170170
path: |
171171
~/.composer/cache/files
172-
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
172+
key: ${{ runner.laravel }}-php-${{ matrix.php }}-${{ hashFiles('composer.json') }}
173173
restore-keys: |
174-
${{ runner.os }}-php-${{ matrix.php }}-
174+
${{ runner.laravel }}-php-${{ matrix.php }}-
175175
- name: Adjust Laravel/Testbench version per matrix
176176
run: |
177177
composer remove laravel/framework orchestra/testbench --no-update || true
@@ -258,9 +258,9 @@ jobs:
258258
with:
259259
path: |
260260
~/.composer/cache/files
261-
key: ${{ runner.os }}-php-${{ matrix.php }}-${{ matrix.laravel }}-${{ hashFiles('composer.json') }}
261+
key: ${{ runner.laravel }}-php-${{ matrix.php }}-${{ matrix.laravel }}-${{ hashFiles('composer.json') }}
262262
restore-keys: |
263-
${{ runner.os }}-php-${{ matrix.php }}-
263+
${{ runner.laravel }}-php-${{ matrix.php }}-
264264
- name: Adjust Laravel/Testbench version per matrix
265265
run: |
266266
composer remove laravel/framework orchestra/testbench --no-update || true

0 commit comments

Comments
 (0)