From 464cd1148c6b8890888bbca72179a2c0154d1377 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 13:28:21 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 12 --- composer.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 9adf13e..865c61e 100644 --- a/composer.json +++ b/composer.json @@ -17,20 +17,20 @@ ], "require": { "php": "^8.1", - "illuminate/contracts": "^9.0 || ^10.0 || ^11.0", - "illuminate/database": "^9.0 || ^10.0 || ^11.0", - "illuminate/support": "^9.0 || ^10.0 || ^11.0", + "illuminate/contracts": "^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/database": "^9.0 || ^10.0 || ^11.0 || ^12.0", + "illuminate/support": "^9.0 || ^10.0 || ^11.0 || ^12.0", "nesbot/carbon": "^2.66 || ^3.6", "spatie/laravel-package-tools": "^1.13.0" }, "require-dev": { "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^7.0 || ^8.0 || ^9.0", - "pestphp/pest": "^1.22 || ^2.0", - "pestphp/pest-plugin-laravel": "^1.22 || ^2.0", + "orchestra/testbench": "^7.0 || ^8.0 || ^9.0 || ^10.0", + "pestphp/pest": "^1.22 || ^2.0 || ^3.7", + "pestphp/pest-plugin-laravel": "^1.22 || ^2.0 || ^3.1", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan-deprecation-rules": "^1.0", - "phpstan/phpstan-phpunit": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.0 || ^2.0", + "phpstan/phpstan-phpunit": "^1.0 || ^2.0", "spatie/laravel-ray": "^1.26" }, "autoload": { From e49488495a6548c004533f4fda9be9f1d7217b53 Mon Sep 17 00:00:00 2001 From: Shift Date: Wed, 19 Feb 2025 13:28:21 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 12 --- .github/workflows/run-tests.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4265da9..d00874a 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,19 +2,22 @@ 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.3, 8.2, 8.1] - laravel: [11.*, 10.*, 9.*] + laravel: ['9.*', '10.*', '11.*', '12.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 11.* @@ -23,9 +26,13 @@ jobs: testbench: 8.* - laravel: 9.* testbench: 7.* + - laravel: 12.* + testbench: 10.* exclude: - php: 8.1 laravel: 11.* + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}