From 86d0d615ee849a4cf3ba898ccf4140370d1be7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20J=C3=B8nsson?= Date: Wed, 20 Mar 2024 14:48:56 +0100 Subject: [PATCH] L11 only --- .github/workflows/run-tests.yml | 20 ++++---------------- composer.json | 8 ++++---- 2 files changed, 8 insertions(+), 20 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 1e9702d..03606c7 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,27 +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 - - laravel: 8.* - php: 8.2 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 @@ -40,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 b7bacd0..a07aa70 100644 --- a/composer.json +++ b/composer.json @@ -14,14 +14,14 @@ } ], "require": { - "php": "^8.0", - "laravel/framework": "^8.71|^9.0|^10.0|^11.0" + "php": "^8.2", + "laravel/framework": "^11.0" }, "require-dev": { "phpunit/phpunit": "^9.4", "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": {