Skip to content

Commit

Permalink
Merge pull request #79 from rdohms/feature/ghactions-php-8.3-update
Browse files Browse the repository at this point in the history
GH Actions: update for the release of PHP 8.3
  • Loading branch information
rdohms authored Jan 29, 2024
2 parents 13b8ac3 + 1921260 commit 1aa0d83
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

strategy:
matrix:
php: ['8.2', '8.1', '8.0', '7.4', '7.3', '7.2', '7.1', '7.0', '5.6', '5.5', '5.4']
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']
dependency-version: ['prefer-stable']
experimental: [false]

Expand All @@ -48,8 +48,11 @@ jobs:
- php: '8.2'
dependency-version: 'prefer-lowest'
experimental: false

- php: '8.3'
dependency-version: 'prefer-lowest'
experimental: false

- php: '8.4'
dependency-version: 'prefer-stable'
experimental: true

Expand Down Expand Up @@ -82,12 +85,12 @@ jobs:
run: composer require --no-update phpunit/phpunit:"^9.0" --no-interaction

- name: Install dependencies - normal
if: ${{ matrix.php < 8.3 }}
if: ${{ matrix.php < 8.4 }}
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --no-interaction
- name: Install dependencies - ignore platform reqs
if: ${{ matrix.php >= 8.3 }}
if: ${{ matrix.php >= 8.4 }}
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-req=php+ --no-interaction
Expand Down

0 comments on commit 1aa0d83

Please sign in to comment.