Skip to content

Commit e2503ab

Browse files
committed
wip
1 parent 567724f commit e2503ab

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,15 @@ jobs:
7676
path: '~/.cache/composer'
7777
key: "cache-composer-${{ hashFiles('composer.json') }}"
7878
restore-keys: 'cache-composer-'
79+
- name: workaround PHP <8.2 dependencies
80+
if: ${{ matrix.php_version == '8.1' }}
81+
run: |
82+
composer require ${{ matrix.dependencies_level }} --prefer-dist --no-interaction --no-progress --dev "nikic/php-parser:<5.0.1"
83+
composer normalize
7984
- name: Run composer
8085
run: composer update ${{ matrix.dependencies_level }} --prefer-dist --no-interaction --no-progress
8186
- name: Check composer.json
8287
run: composer normalize --dry-run
83-
- name: workaround PHP <8.2 dependencies
84-
if: ${{ matrix.php_version == '8.1' }}
85-
run: composer require ${{ matrix.dependencies_level }} --dev nikic/php-parser:<5.0.1
8688
- name: Run tests
8789
run: vendor/bin/phpunit
8890
- name: Run integration tests

0 commit comments

Comments
 (0)