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 has long been released and PHP 8.3 is nearing the first RC, so I propose adding PHP 8.3 to the matrix and no longer allowing PHP 8.2 to fail the build.

Builds against PHP 8.3 are still allowed to fail for now.
  • Loading branch information
jrfnl committed Aug 28, 2023
1 parent e592a3e commit 8314400
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 @@ -38,9 +38,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']

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

steps:
- name: Checkout
Expand All @@ -54,12 +54,12 @@ jobs:
ini-values: error_reporting=-1, display_errors=On
coverage: none

- name: Install Composer dependencies (PHP < 8.2)
if: ${{ matrix.php-versions != '8.2' }}
- name: Install Composer dependencies (PHP < 8.3)
if: ${{ matrix.php-versions != '8.3' }}
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.3)
if: ${{ matrix.php-versions == '8.3' }}
uses: "ramsey/composer-install@v2"
with:
composer-options: --ignore-platform-reqs
Expand Down

0 comments on commit 8314400

Please sign in to comment.