66
77jobs :
88 tests :
9- name : Tests (PHP ${{ matrix.php-versions }} on ${{ matrix.operating-system }})
9+ name : Tests (PHP ${{ matrix.php }} on ${{ matrix.operating-system }})
1010 runs-on : ubuntu-latest
1111
1212 strategy :
1313 fail-fast : false
1414 matrix :
1515 operating-system : ["ubuntu-latest"]
16- php-versions : ["7.4", "8.0", "8.1", "8.2"]
16+ php : ["7.4", "8.0", "8.1", "8.2", "8.3", "8.4 "]
1717
1818 steps :
1919 - name : Checkout
2626 - name : Setup PHP, with composer and extensions
2727 uses : shivammathur/setup-php@v2 # https://github.com/shivammathur/setup-php
2828 with :
29- php-version : ${{ matrix.php-versions }}
29+ php-version : ${{ matrix.php }}
3030 tools : phpunit
3131 extensions : mbstring, xml, ctype, iconv, intl, pdo_sqlite
3232 coverage : xdebug
@@ -37,14 +37,14 @@ jobs:
3737 uses : " ramsey/composer-install@v2"
3838
3939 - name : Run static code analysis
40- if : ${{ matrix.php-versions == '8.2 ' }}
40+ if : ${{ matrix.php == '8.3 ' }}
4141 run : composer run phpstan -- --error-format=github
4242
4343 - name : Run tests
4444 run : vendor/bin/phpunit --coverage-clover .phpunit.cache/clover.xml
4545
4646 - name : Upload coverage reports to Codecov
47- if : ${{ success() && matrix.php-versions == '8.2 ' }}
47+ if : ${{ success() && matrix.php == '8.3 ' }}
4848 uses : codecov/codecov-action@v3
4949 with :
5050 token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments