Skip to content

Commit

Permalink
GH Actions: PHP 8.4 has been released
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jrfnl committed Nov 22, 2024
1 parent d95a9d8 commit 60b917f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/php-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
strategy:
fail-fast: true
matrix:
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
php-versions: ['5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
dependency-versions: ['lowest', 'highest']

include:
- php-versions: '8.4'
- 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
Expand All @@ -44,15 +44,15 @@ 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 }}
# Bust the cache at least once a month - output format: YYYY-MM.
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 }}
Expand Down

0 comments on commit 60b917f

Please sign in to comment.