From 4920cdf8ae372ee5c7b7315b807a28acf0e52980 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 13:44:28 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 0beab94..d4bf3bd 100644 --- a/composer.json +++ b/composer.json @@ -16,17 +16,17 @@ ], "require": { "php": "^8.0", - "illuminate/contracts": "^8.0|^9.0|^10.0", + "illuminate/contracts": "^8.0|^9.0|^10.0|^11.0", "spatie/laravel-package-tools": "^1.9", "spatie/ssh": "^1.5" }, "require-dev": { - "orchestra/testbench": "^6.23|^7.0|^8.0", - "pestphp/pest-plugin-laravel": "^1.3", - "phpunit/phpunit": "^9.4", + "orchestra/testbench": "^6.23|^7.0|^8.0|^9.0", + "pestphp/pest-plugin-laravel": "^1.3|^2.3", + "phpunit/phpunit": "^9.4|^10.5", "spatie/laravel-ray": "^1.9", - "spatie/pest-plugin-snapshots": "^1.1", - "spatie/phpunit-snapshot-assertions": "^4.2", + "spatie/pest-plugin-snapshots": "^1.1|^2.1", + "spatie/phpunit-snapshot-assertions": "^4.2|^5.1", "spatie/ray": "^1.21" }, "autoload": { @@ -59,4 +59,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} \ No newline at end of file +} From c7c03a09e0111cabd5e05e299fff3451084697f6 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 13:44:28 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f0388d1..013f660 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,16 +1,19 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest] php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*, 8.*] + laravel: ['8.*', '9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* @@ -19,9 +22,15 @@ jobs: testbench: 7.* - laravel: 8.* testbench: ^6.23 + - laravel: 11.* + testbench: 9.* exclude: - laravel: 10.* - php: 8.0 + php: 8.0 + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}