Skip to content

Commit 6e52b75

Browse files
committed
Update the CI setup
- use latest version of actions/checkout - add a job for PHP 8.3 - use PHP 8.2 to run the dev deps job (latest versions of our dependencies don't support PHP 8.0 or 7.4 so the previous config was not running against the future version of our dependencies) - add a job running the dev deps with the http_client implementation as well
1 parent 4a6f37a commit 6e52b75

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Check composer.json
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- uses: shivammathur/setup-php@v2
1919
with:
2020
coverage: none
@@ -25,7 +25,7 @@ jobs:
2525
name: Static analysis
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929
- uses: shivammathur/setup-php@v2
3030
with:
3131
coverage: none
@@ -36,32 +36,32 @@ jobs:
3636

3737
tests:
3838
name: Tests on PHP ${{ matrix.php }} with ${{ matrix.implementation }}${{ matrix.name_suffix }}
39-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-latest
4040
strategy:
4141
matrix:
42-
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
42+
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
4343
minimum_stability: [ 'stable' ]
4444
name_suffix: [ '' ]
4545
implementation: [ 'http_kernel' ]
4646
include:
47-
- php: '8.0'
47+
- php: '8.2'
4848
minimum_stability: dev
4949
implementation: 'http_kernel'
5050
name_suffix: ' and dev deps'
51-
- php: '7.4'
51+
- php: '8.2'
52+
implementation: http_client
53+
- php: '8.2'
5254
minimum_stability: dev
53-
implementation: 'http_kernel'
55+
implementation: 'http_client'
5456
name_suffix: ' and dev deps'
55-
- php: '8.0'
56-
implementation: http_client
5757
fail-fast: false
5858

5959
env:
6060
MATRIX_PHP: ${{ matrix.php }}
6161

6262
steps:
6363
- name: Checkout
64-
uses: actions/checkout@v3
64+
uses: actions/checkout@v4
6565
with:
6666
fetch-depth: 2
6767

0 commit comments

Comments
 (0)