File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 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 }}."
You can’t perform that action at this time.
0 commit comments