Skip to content

Commit 2613656

Browse files
authored
Update php.yml
1 parent 347515f commit 2613656

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,13 @@ jobs:
2323
- name: Validate composer.json and composer.lock
2424
run: composer validate --strict
2525

26-
- name: Cache Composer packages
27-
id: composer-cache
28-
uses: actions/[email protected]
26+
- name: Cache dependencies
27+
uses: actions/cache@v3
2928
with:
3029
path: vendor
31-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
30+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
3231
restore-keys: |
33-
${{ runner.os }}-php-
32+
${{ runner.os }}-composer-
3433
3534
- name: Install dependencies
3635
run: composer install --prefer-dist --no-progress

0 commit comments

Comments
 (0)