Skip to content

Commit

Permalink
Allow php8.3 in build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
usox committed Nov 12, 2023
1 parent 32ee179 commit afd16ee
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
matrix:
os: ['ubuntu-latest']
php: ['8.1', '8.2']
continue-on-error: ${{ matrix.php == '8.2' }}
php: ['8.1', '8.2', '8.3']
continue-on-error: ${{ matrix.php == '8.3' }}
steps:
- uses: actions/checkout@v2

Expand All @@ -26,15 +26,15 @@ jobs:
run: composer validate

- name: Install dependencies
if: ${{ matrix.php != '8.2' }}
if: ${{ matrix.php != '8.3' }}
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
max_attempts: 3
command: composer update --no-interaction --no-progress

- name: Install Dependencies (ignore platform)
if: ${{ matrix.php == '8.2' }}
if: ${{ matrix.php == '8.3' }}
uses: nick-invision/retry@v1
with:
timeout_minutes: 5
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
],
"require": {
"php": "^8.1",
"php": "~8.1||~8.2||~8.3",
"ext-json": "*",
"opis/json-schema": "^2.1",
"php-http/discovery": "^1.13",
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit afd16ee

Please sign in to comment.