@@ -3,10 +3,10 @@ name: CI
33on :
44 push :
55 branches :
6- - ' 7.3 '
6+ - ' 7.4 '
77 pull_request :
88 branches :
9- - ' 7.3 '
9+ - ' 7.4 '
1010
1111env :
1212 APP_ENV : test
@@ -18,12 +18,13 @@ jobs:
1818 strategy :
1919 fail-fast : true
2020 matrix :
21- php-versions : ['8.2', '8.3', '8.4']
21+ php-versions : ['8.2', '8.3', '8.4', '8.5' ]
2222 steps :
2323 - name : Checkout
24- uses : actions/checkout@v3
24+ uses : actions/checkout@v6
2525
26- - name : Setup PHP with extensions and Composer v2
26+ - name : Setup PHP != 8.5 with extensions and Composer v2
27+ if : ${{ matrix.php-versions != '8.5' }}
2728 uses : shivammathur/setup-php@v2
2829 with :
2930 php-version : ${{ matrix.php-versions }}
3233 env :
3334 update : true
3435
36+ - name : Setup PHP 8.5 with extensions and Composer v2
37+ if : ${{ matrix.php-versions == '8.5' }}
38+ uses : shivammathur/setup-php@v2
39+ with :
40+ php-version : ${{ matrix.php-versions }}
41+ tools : composer:v2
42+ extensions : ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite
43+ # this ini directive seems to be off by default in PHP 8.5
44+ # see https://github.com/php/php-src/issues/20279
45+ # enable it because codeception relies on it.
46+ ini-values : register_argc_argv=1
47+ env :
48+ update : true
49+
3550 - name : Validate composer.json
3651 run : composer validate
3752
4055 run : echo "::set-output name=dir::$(composer config cache-files-dir)"
4156
4257 - name : Cache composer dependencies
43- uses : actions/cache@v3
58+ uses : actions/cache@v5
4459 with :
4560 path : ${{ steps.composer-cache.outputs.dir }}
4661 key : ${{ runner.os }}-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
0 commit comments