diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28d7819..745a763 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,8 +54,11 @@ jobs: strategy: matrix: php: [8.2, 8.3, 8.4, 8.5] - laravel: ['^11.0', '^12.0', '12.x-dev'] + laravel: ['^11.0', '^12.0', '^13.0'] prefer: [prefer-lowest, prefer-stable] + exclude: + - php: 8.2 + laravel: '^13.0' steps: - name: checkout code @@ -100,6 +103,10 @@ jobs: if: ${{ matrix.php == 8.4 && matrix.prefer == 'prefer-lowest' }} run: composer require --no-update nesbot/carbon:^3.0 + - name: Support prefer-lowest in PHP 8.5 + if: ${{ matrix.php == 8.5 && matrix.prefer == 'prefer-lowest' }} + run: composer require --no-update nesbot/carbon:^3.0 + - name: Install dependencies run: composer update --${{ matrix.prefer }} diff --git a/composer.json b/composer.json index 267bddd..134c431 100644 --- a/composer.json +++ b/composer.json @@ -18,16 +18,16 @@ ], "require": { "php": "^8.2", - "illuminate/collections": "^11.0 || ^12.0", - "illuminate/database": "^11.0 || ^12.0", - "illuminate/http": "^11.0 || ^12.0", - "illuminate/support": "^11.0 || ^12.0", - "symfony/http-kernel": "^7.0" + "illuminate/collections": "^11.0 || ^12.0 || ^13.0", + "illuminate/database": "^11.0 || ^12.0 || ^13.0", + "illuminate/http": "^11.0 || ^12.0 || ^13.0", + "illuminate/support": "^11.0 || ^12.0 || ^13.0", + "symfony/http-kernel": "^7.0 || ^8.0" }, "require-dev": { - "laravel/framework": "^11.0 || ^12.0", + "laravel/framework": "^11.0 || ^12.0 || ^13.0", "opis/json-schema": "^2.3", - "orchestra/testbench": "^9.0 || ^10.0", + "orchestra/testbench": "^9.0 || ^10.0 || ^11.0", "phpunit/phpunit": "^9.0 || ^10.5 || ^11.5" }, "config": {