Skip to content

Commit faf6091

Browse files
committed
ci: Test against the supported PHP floor and ceiling
Run the check matrix on PHP 8.0 and 8.5 rather than the latest two releases, so continuous integration covers both ends of the range the package declares support for. Default the setup action and the build workflow to 8.5, matching the top of the matrix as the Ruby and Python SDKs do. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RFK47311nWtbd3gHmjdknR
1 parent 8c2788a commit faf6091

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
php_version:
77
description: The PHP version.
88
required: false
9-
default: '8.4'
9+
default: '8.5'
1010
install_dependencies:
1111
description: Install dependencies.
1212
required: false

.github/workflows/_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
description: The PHP version.
99
type: string
1010
required: false
11-
default: '8.4'
11+
default: '8.5'
1212
outputs:
1313
artifact_name:
1414
description: The artifact name.

.github/workflows/check.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
os:
2121
- ubuntu-latest
2222
php:
23-
- '8.4'
23+
- '8.0'
2424
- '8.5'
2525
include:
2626
- os: ubuntu-latest
@@ -44,7 +44,7 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
php:
47-
- '8.4'
47+
- '8.0'
4848
- '8.5'
4949
steps:
5050
- name: Checkout
@@ -73,7 +73,7 @@ jobs:
7373
os:
7474
- ubuntu-latest
7575
php:
76-
- '8.4'
76+
- '8.0'
7777
- '8.5'
7878
include:
7979
- os: ubuntu-latest

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ PHPUnit is configured in `phpunit.xml.dist`.
218218
### Requirements
219219

220220
This package supports PHP 8.0 and later.
221-
Continuous integration exercises the latest two releases, PHP 8.4 and 8.5.
221+
Continuous integration exercises both ends of that range, PHP 8.0 and 8.5.
222222

223223
### Publishing
224224

0 commit comments

Comments
 (0)