diff --git a/.github/workflows/laravel.yml b/.github/workflows/tests.yml similarity index 76% rename from .github/workflows/laravel.yml rename to .github/workflows/tests.yml index 904dac5..da00415 100644 --- a/.github/workflows/laravel.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: laravel +name: tests on: [ push ] @@ -9,12 +9,15 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.1", "8.2", "8.3" ] - laravel: [ "10.0", "11.0" ] + php: [ "8.1", "8.2", "8.3", "8.4" ] + laravel: [ "10.0", "11.0", "12.0" ] exclude: + - laravel: "10.0" + php: "8.4" - laravel: "11.0" php: "8.1" - + - laravel: "12.0" + php: "8.1" name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} diff --git a/composer.json b/composer.json index 1f94196..5107a4f 100644 --- a/composer.json +++ b/composer.json @@ -35,15 +35,15 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^10.0 || ^11.0", - "illuminate/http": "^10.0 || ^11.0", - "illuminate/support": "^10.0 || ^11.0", + "illuminate/contracts": "^10.0 || ^11.0 || ^12.0", + "illuminate/http": "^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^10.0 || ^11.0 || ^12.0", "lmc/http-constants": "^1.2", "symfony/http-foundation": "^6.0 || ^7.0" }, "require-dev": { - "orchestra/testbench": "^8.0 || ^9.0", - "phpunit/phpunit": "^10.0" + "orchestra/testbench": "^8.0 || ^9.0 || ^10.0", + "phpunit/phpunit": "^10.0 || ^11.0 || ^12.0" }, "conflict": { "andrey-helldar/laravel-json-response": "*" @@ -77,4 +77,4 @@ ] } } -} \ No newline at end of file +}