diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ebf7d86..232670a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -17,16 +17,20 @@ jobs: matrix: os: [ubuntu-latest] php: [8.4, 8.3, 8.2, 8.1] - laravel: ['10.*', '11.*'] + laravel: ['10.*', '11.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 11.* testbench: 9.* + - laravel: 12.* + testbench: 10.* exclude: - laravel: 11.* php: 8.1 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} @@ -62,7 +66,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "nesbot/carbon:^2.63" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests diff --git a/composer.json b/composer.json index 1447b70..ffe1ff5 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": "^8.1", - "illuminate/support": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0|^12.0", "league/flysystem": "^3.0", "spatie/db-dumper": "^3.3", "spatie/laravel-package-tools": "^1.6", @@ -25,9 +25,9 @@ }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^8.22.3|^9.0.4", - "pestphp/pest-plugin-laravel": "^2.4", - "phpunit/phpunit": "^10.5" + "orchestra/testbench": "^8.22.3|^9.0.4|^10.0", + "pestphp/pest-plugin-laravel": "^2.4|^3.1", + "phpunit/phpunit": "^10.5|^11.5.3" }, "autoload": { "psr-4": {