diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8027f64..48d77af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,22 +6,36 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [8.2, 8.3, 8.4] - symfony: ["5.4.*", "6.4.*", "6.4wApi", "7.3.*"] + php: [8.2, 8.3, 8.4, 8.5] + symfony: ["5.4.*", "6.4.*", "6.4wApi", "7.3.*", "7.4.*"] env: - only_sf_latest: &only_sf_latest ${{ matrix.symfony == '7.3.*' }} + only_sf_latest: &only_sf_latest ${{ matrix.symfony == '7.4.*' }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v6 + + - name: Setup PHP != 8.5 + if: ${{ matrix.php != '8.5' }} + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + tools: composer:v2 + extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite + coverage: none - - name: Setup PHP + - name: Setup PHP 8.5 + if: ${{ matrix.php == '8.5' }} uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} tools: composer:v2 extensions: ctype, iconv, intl, json, mbstring, pdo, pdo_sqlite coverage: none + # this ini directive seems to be off by default in PHP 8.5 + # see https://github.com/php/php-src/issues/20279 + # enable it because codeception relies on it. + ini-values: register_argc_argv=1 - name: Set Symfony version reference env: