From ec15866539d97305585f45edb56511b659a985e9 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 19:58:30 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index 2438948..7ada52c 100644 --- a/composer.json +++ b/composer.json @@ -20,21 +20,21 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0" + "illuminate/contracts": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0" }, "require-dev": { - "roave/security-advisories": "dev-latest", - "nunomaduro/collision": "^6.0", - "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "phpstan/extension-installer": "^1.1", + "roave/security-advisories": "dev-latest", + "nunomaduro/collision": "^6.0|^8.0", + "nunomaduro/larastan": "^2.0.1", + "orchestra/testbench": "^7.0|^9.0", + "pestphp/pest": "^1.21|^2.34", + "pestphp/pest-plugin-laravel": "^1.1|^2.3", + "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^9.5", - "spatie/laravel-ray": "^1.26" + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^9.5|^10.5", + "spatie/laravel-ray": "^1.26" }, "autoload": { "psr-4": { From 62fb570404475b810845ed5e598b832e59d6c9fa Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 19:58:30 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 39ff7ee..b03968b 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,23 +2,31 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.1] - laravel: [9.*] + php: [8.1, '8.2'] + laravel: ['9.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* testbench: 7.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}