From 46bace2d93373c9e5b0270ee1b907b0ffe677bf1 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 07:32:47 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index b723f9d..f85770d 100644 --- a/composer.json +++ b/composer.json @@ -19,19 +19,19 @@ "require": { "php": "^8.1", "spatie/laravel-package-tools": "^1.13.0", - "illuminate/auth": "^9.0|^10.0", - "illuminate/events": "^9.0|^10.0", - "illuminate/session": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0" + "illuminate/auth": "^9.0|^10.0|^11.0", + "illuminate/events": "^9.0|^10.0|^11.0", + "illuminate/session": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^6.0|^7.0", + "nunomaduro/collision": "^6.0|^7.0|^8.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0|^8.0", - "pestphp/pest": "^1.21", - "pestphp/pest-plugin-laravel": "^1.1", - "pestphp/pest-plugin-mock": "^1.0", + "orchestra/testbench": "^7.0|^8.0|^9.0", + "pestphp/pest": "^1.21|^2.34", + "pestphp/pest-plugin-laravel": "^1.1|^2.3", + "pestphp/pest-plugin-mock": "^1.0|^2.0", "phpstan/extension-installer": "^1.1", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-phpunit": "^1.0", From e8874be1e4c951cfa372793f5ca9a84e99f5292e Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 07:32:48 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 505995d..bfc8671 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,22 @@ name: run-tests on: push: - branches: [master] + branches: + - master pull_request: - branches: [master] + branches: + - master jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.2, 8.1] - laravel: [9.*, 10.*] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 9.* @@ -23,6 +26,9 @@ jobs: - laravel: 10.* testbench: 8.* carbon: ^2.63 + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}