Skip to content

Commit

Permalink
GH Actions: update PHP versions in workflows
Browse files Browse the repository at this point in the history
PHP 8.2 and 8.3 have been released quite a while ago and PHP 8.4 is expected towards end of November, so adding PHP 8.3 and 8.4 to the matrix and no longer allowing PHP 8.2 or 8.3 to fail the build.

Builds against PHP 8.4 are still allowed to fail for now.
  • Loading branch information
jrfnl committed Sep 9, 2024
1 parent 64f3265 commit 5c150cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']

continue-on-error: ${{ matrix.php-versions == '8.2' }}
continue-on-error: ${{ matrix.php-versions == '8.4' }}

steps:
- name: Checkout
Expand All @@ -56,12 +56,12 @@ jobs:
- name: Modernize dependencies
run: composer require --dev --no-update "phpunit/phpunit:>=4"

- name: Install Composer dependencies (PHP < 8.2)
if: ${{ matrix.php-versions != '8.2' }}
- name: Install Composer dependencies (PHP < 8.4)
if: ${{ matrix.php-versions != '8.4' }}
uses: "ramsey/composer-install@v2"

- name: Install Composer dependencies - ignore-platform-reqs (PHP 8.2)
if: ${{ matrix.php-versions == '8.2' }}
- name: Install Composer dependencies - ignore-platform-reqs (PHP 8.4)
if: ${{ matrix.php-versions == '8.4' }}
uses: "ramsey/composer-install@v2"
with:
composer-options: --ignore-platform-reqs
Expand Down

0 comments on commit 5c150cb

Please sign in to comment.