diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b940835..14e82a9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,11 +9,16 @@ jobs: fail-fast: false matrix: php: [8.0, 8.1] - laravel: [9.*] + laravel: [10.*, 9.*] dependency-version: [prefer-lowest, prefer-stable] include: + - laravel: 10.* + testbench: 8.* - laravel: 9.* testbench: 7.* + exclude: + - laravel: 10.* + php: 8.0 name: Tests - PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - ${{ matrix.dependency-version }} steps: - name: Checkout code diff --git a/composer.json b/composer.json index 7339c6e..2d4d940 100644 --- a/composer.json +++ b/composer.json @@ -18,12 +18,12 @@ "require": { "php": "^8.0.2", "guzzlehttp/guzzle": "^7.2", - "illuminate/support": "^9.0", + "illuminate/support": "^9.0|^10.0", "openfoodfacts/openfoodfacts-php": "^0.2.4" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.6", - "orchestra/testbench": "^7.0", + "orchestra/testbench": "^7.0|^8.0", "phpunit/phpunit": "^9.5.8" }, "autoload": {