Skip to content

Commit 63505f5

Browse files
committed
Update GA
1 parent 291669a commit 63505f5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/phpunit.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,27 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
php: ['7.4']
11+
php: ['7.2']
1212

1313
name: PHP ${{ matrix.php }} tests
1414
steps:
1515
- run: echo "This job for ${{ github.ref }} was automatically triggered by a ${{ github.event_name }} event on ${{ runner.os }}."
1616

1717
# Basically git clone
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

2020
# Use PHP of specific version
2121
- uses: shivammathur/setup-php@v2
2222
with:
2323
php-version: ${{ matrix.php }}
2424
coverage: none # disable xdebug, pcov
2525

26+
- name: Install Composer dependencies
27+
uses: php-actions/composer@v6
28+
with:
29+
php_version: ${{ matrix.php }}
30+
args: --prefer-source
31+
2632
# If we use two steps like this, we can better see if composer or the test failed
27-
- run: composer install --dev --no-interaction --prefer-source
2833
- run: vendor/phpunit/phpunit/phpunit
2934
- run: echo "This job's status is ${{ job.status }}."

0 commit comments

Comments
 (0)