Skip to content

Commit ab47c9d

Browse files
authored
[TASK] Install Composer dependencies for PHP lint CI job (#611)
This is a pre-patch before we can switch the PHP linting to the parallel lint package in #610.
1 parent ddd7fbf commit ab47c9d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,22 @@ jobs:
3030
tools: composer:v2
3131
coverage: none
3232

33+
- name: Show the Composer configuration
34+
run: composer config --global --list
35+
36+
- name: Cache dependencies installed with composer
37+
uses: actions/cache@v4
38+
with:
39+
path: ~/.cache/composer
40+
key: php${{ matrix.php-version }}-composer-${{ hashFiles('**/composer.json') }}
41+
restore-keys: |
42+
php${{ matrix.php-version }}-composer-
43+
44+
- name: Install Composer dependencies
45+
run: |
46+
composer update --with-dependencies --no-progress;
47+
composer show;
48+
3349
- name: PHP Lint
3450
run: composer ci:php:lint
3551

0 commit comments

Comments
 (0)