File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -349,19 +349,18 @@ jobs:
349349 PHPCS_VERSION : ${{ matrix.phpcs_version }}
350350 PHPCSUTILS_USE_CACHE : false
351351
352- # Uploading the results with PHP Coveralls v1 won't work from GH Actions, so switch the PHP version.
353- # Also PHP Coveralls itself (still) isn't fully compatible with PHP 8.0+.
354- - name : Switch to PHP 7.4
355- if : ${{ success() && matrix.php != '7.4' }}
352+ # PHP Coveralls v2 (which supports GH Actions) has a PHP 5.5 minimum, so switch the PHP version.
353+ - name : Switch to PHP latest
354+ if : ${{ success() && matrix.php == '5.4' }}
356355 uses : shivammathur/setup-php@v2
357356 with :
358- php-version : 7.4
357+ php-version : ' latest '
359358 coverage : none
360359
361- # Global install is used to prevent a conflict with the local composer.lock in PHP 8.0+ .
360+ # Global install is used to prevent a conflict with the local composer.lock.
362361 - name : Install Coveralls
363362 if : ${{ success() }}
364- run : composer global require php-coveralls/php-coveralls:"^2.5.3 " --no-interaction
363+ run : composer global require php-coveralls/php-coveralls:"^2.6.0 " --no-interaction
365364
366365 - name : Upload coverage results to Coveralls (normal)
367366 if : ${{ success() && github.actor != 'dependabot[bot]' }}
You can’t perform that action at this time.
0 commit comments