Skip to content

Commit

Permalink
Support guzzle 7
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Jun 10, 2024
1 parent bd7d852 commit 9fd68f2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ jobs:
tests:
runs-on: ubuntu-latest

name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}"
name: "PHP ${{ matrix.php }} - Guzzle ${{ matrix.guzzle }}"

strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1", "8.2"]
php: ["8.0", "8.1", "8.2", "8.3"]
guzzle: ["6.5.8", "7.8.1"]

steps:
-
uses: actions/checkout@v2
uses: actions/checkout@v4

-
name: Setup PHP
Expand All @@ -31,6 +32,11 @@ jobs:
php-version: "${{ matrix.php }}"
coverage: none

-
name: Restrict Guzzle version
if: matrix.guzzle != ''
run: composer require "guzzlehttp/guzzle:${{ matrix.guzzle }}" --no-update --no-scripts --no-interaction

-
name: Run Composer install
run: composer install -n
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ext-ctype": "*",
"ext-json": "*",
"psr/log": "^2.0",
"guzzlehttp/guzzle": "^6.2",
"guzzlehttp/guzzle": "^6.2 || ^7.0",
"respect/validation": "^1.1",
"php": "^8.0"
},
Expand Down

0 comments on commit 9fd68f2

Please sign in to comment.