From 46dbc8f88fbf3062c129bc003837aa2417b0d0d7 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 22 Nov 2024 01:48:37 +0100 Subject: [PATCH] GH Actions: PHP 8.4 has been released * Builds against PHP 8.4 are no longer allowed to fail. * Add _allowed to fail_ build against PHP 8.5. Ref: https://www.php.net/releases/8.4/en.php --- .github/workflows/run-tests.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f2a778a..8efa800 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -25,7 +25,7 @@ jobs: strategy: matrix: - php: ['8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4'] + php: ['8.4', '8.3', '8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4'] dependency-version: ['prefer-stable'] experimental: [false] @@ -51,8 +51,11 @@ jobs: - php: '8.3' dependency-version: 'prefer-lowest' experimental: false - - php: '8.4' + dependency-version: 'prefer-lowest' + experimental: false + + - php: '8.5' dependency-version: 'prefer-stable' experimental: true @@ -85,12 +88,12 @@ jobs: run: composer require --no-update phpunit/phpunit:"^9.0" --no-interaction - name: Install dependencies - normal - if: ${{ matrix.php < 8.4 }} + if: ${{ matrix.php < 8.5 }} run: | composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-interaction - name: Install dependencies - ignore platform reqs - if: ${{ matrix.php >= 8.4 }} + if: ${{ matrix.php >= 8.5 }} run: | composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-req=php+ --no-interaction