Skip to content

Commit c4688a1

Browse files
authored
Tweaks
1 parent 7b0d760 commit c4688a1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/run-phpstan-pull.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ jobs:
9292
id: larastan-restore
9393
with:
9494
path: ./build/phpstan
95-
key: phpstan-result-cache
95+
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
9696

9797
- name: Run PHPStan Tests
9898
run: ./vendor/bin/phpstan analyse
9999

100100
- uses: actions/cache/save@v4
101101
id: larastan-save
102102
with:
103-
path: ${{ steps.larastan-restore.path }}
104-
key: ${{ steps.larastan-restore.key }}
103+
path: ./build/phpstan
104+
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}

.github/workflows/run-phpstan.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@ jobs:
9595
id: larastan-restore
9696
with:
9797
path: ./build/phpstan
98-
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}-composer-${{ hashFiles('**/composer.json') }}
98+
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}
9999

100100
- name: Run PHPStan Tests
101101
run: ./vendor/bin/phpstan analyse
102102

103103
- uses: actions/cache/save@v4
104104
id: larastan-save
105105
with:
106-
path: ${{ steps.larastan-restore.path }}
107-
key: ${{ steps.larastan-restore.key }}
106+
path: ./build/phpstan
107+
key: phpstan-${{ matrix.os }}-P${{ matrix.php }}-L${{ matrix.laravel }}

0 commit comments

Comments
 (0)