Skip to content

Commit 0d0704a

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

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.github/workflows/unit-tests.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,16 @@ 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'
20+
- php: '8.1'
21+
symfony: '^8.0'
22+
- php: '8.2'
23+
symfony: '^8.0'
24+
- php: '8.3'
25+
symfony: '^8.0'
2026

2127
steps:
2228
- uses: actions/checkout@v2
@@ -26,6 +32,11 @@ jobs:
2632
with:
2733
php-version: "${{ matrix.php }}"
2834

35+
- name: Update compatible amphp/http-client version
36+
if: ${{ matrix.symfony == '^8.0' }}
37+
run: |
38+
composer require amphp/http-client:"^5.3" --dev --no-update
39+
2940
- name: Install dependencies
3041
run: composer install --prefer-dist --no-progress
3142

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)