Skip to content

Commit 2402784

Browse files
committed
CI - symfony 8.0
1 parent 8cef4a1 commit 2402784

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/unit-tests.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
matrix:
1414
os: [ ubuntu-latest, windows-latest, macos-latest ]
1515
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
16-
symfony: [ '^6.4', '^7.3' ]
16+
symfony: [ '^6.4', '^7.3', '^8.0' ]
1717
exclude:
1818
- php: '8.1'
1919
symfony: '^7.3'
@@ -29,6 +29,12 @@ jobs:
2929
- name: Install dependencies
3030
run: composer install --prefer-dist --no-progress
3131

32+
- name: Update compatible amphp/http-client version
33+
if: ${{ matrix.symfony == '^8.0' }}
34+
run: |
35+
composer require amphp/http-client:"^5.3" --dev --no-update
36+
composer update amphp/http-client --prefer-dist --no-progress
37+
3238
- name: Override symfony version
3339
run: |
3440
composer require symfony/http-client:"${{ matrix.symfony }}" --dev --no-update

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"ext-curl": "*",
3737
"ext-json": "*",
3838
"phpunit/phpunit": "^10.5 || ^11.5 || ^12.4",
39-
"symfony/http-client": "^6.4 || ^7.3",
40-
"symfony/process": "^6.4 || ^7.3",
39+
"symfony/http-client": "^6.4 || ^7.3 || ^8.0",
40+
"symfony/process": "^6.4 || ^7.3 || ^8.0",
4141
"amphp/http-client": "^4.2.1"
4242
},
4343
"suggest": {

0 commit comments

Comments
 (0)