From 11f5cd850ed223f2a5c0f919890f46e7d132ad93 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 22 Nov 2024 01:45:15 +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. Note: running PHP 8.4 with `dependencies: lowest` will not work due to issues in Patchwork and Mockery, but raising the minimum versions of those dependencies would require dropping support for PHP < 7.1 (and maybe more). Ref: https://www.php.net/releases/8.4/en.php --- .github/workflows/php-qa.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php-qa.yml b/.github/workflows/php-qa.yml index f559f70..83de9d4 100644 --- a/.github/workflows/php-qa.yml +++ b/.github/workflows/php-qa.yml @@ -23,8 +23,10 @@ jobs: include: - php-versions: '8.4' dependency-versions: 'highest' + - php-versions: '8.5' + dependency-versions: 'highest' - continue-on-error: ${{ matrix.php-versions == '8.4' }} + continue-on-error: ${{ matrix.php-versions == '8.5' }} steps: - uses: actions/checkout@v4 @@ -44,7 +46,7 @@ jobs: run: parallel-lint ./src/ ./tests/ - name: Install dependencies - normal - if: ${{ matrix.php-versions != '8.4' }} + if: ${{ matrix.php-versions != '8.5' }} uses: "ramsey/composer-install@v3" with: dependency-versions: ${{ matrix.dependency-versions }} @@ -52,7 +54,7 @@ jobs: custom-cache-suffix: $(date -u "+%Y-%m") - name: Install dependencies - ignore-platform-reqs - if: ${{ matrix.php-versions == '8.4' }} + if: ${{ matrix.php-versions == '8.5' }} uses: "ramsey/composer-install@v3" with: dependency-versions: ${{ matrix.dependency-versions }}