Skip to content

Commit 5263643

Browse files
committed
[Test] Fix php-ast version
1 parent 2fa02c4 commit 5263643

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/loristest.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
uses: shivammathur/setup-php@v2
2525
with:
2626
php-version: ${{ matrix.php }}
27-
extensions: zip, php-ast
27+
extensions: zip, php7.3-ast, php7.4-ast
2828

2929
- name: Validate composer.json and composer.lock
3030
run: composer validate
@@ -42,7 +42,9 @@ jobs:
4242
run: sed -i "s/7.3/${{ matrix.php }}/g" Dockerfile.test.php7
4343

4444
- name: Install OS package dependencies
45-
run: sudo apt-get install php-ast
45+
run: |
46+
sudo apt-get install php7.3-ast
47+
sudo apt-get install php7.4-ast
4648
4749
- name: Install composer dependencies
4850
if: steps.composer-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)