diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 52352dc..d4708b2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,25 +9,15 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + php: [8.2] + laravel: [11.*] dependency-version: [prefer-stable] - include: - - laravel: 10.* - testbench: 8.* - - laravel: 9.* - testbench: 7.* - - laravel: 8.* - testbench: ^6.23 - exclude: - - laravel: 10.* - php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -38,7 +28,7 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction - name: Execute tests diff --git a/composer.json b/composer.json index 5118139..bb4f518 100644 --- a/composer.json +++ b/composer.json @@ -16,13 +16,13 @@ } ], "require": { - "php": "^8.0", - "laravel/framework": "^8.71|^9.0|^10.0|^11.0" + "php": "^8.2", + "laravel/framework": "^11.0" }, "require-dev": { "mockery/mockery": "^1.4", - "orchestra/testbench": "^6.24|^7.0|^8.0|^9.0", - "pestphp/pest": "^1.22|^2.0" + "orchestra/testbench": "^9.0", + "pestphp/pest": "^2.0" }, "autoload": { "psr-4": {