From 7b3793d628d48e7c00ce6bddfdb002507326ab38 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 12:46:05 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 7e62708..e055e34 100644 --- a/composer.json +++ b/composer.json @@ -18,15 +18,15 @@ "require": { "php": "^8.1", "filament/filament": "^3.0", - "illuminate/contracts": "^9.0 | ^10.0", + "illuminate/contracts": "^9.0 | ^10.0 | ^11.0", "pboivin/filament-peek": "^2.0", "spatie/laravel-package-tools": "^1.13.5" }, "require-dev": { "laravel/pint": "^1.0", - "nunomaduro/collision": "^7.0", + "nunomaduro/collision": "^7.0 | ^8.0", "nunomaduro/larastan": "^2.0.1", - "orchestra/testbench": "^8.0", + "orchestra/testbench": "^8.0 | ^9.0", "pestphp/pest": "^2.0", "pestphp/pest-plugin-laravel": "^2.0", "pestphp/pest-plugin-livewire": "^2.0", From 69c48f3597d222113ab09616ff7a655151cf37d4 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 12:46:05 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0a6ec02..ff4c571 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,23 +2,33 @@ name: run-tests on: push: - branches: [1.x, 2.x] + branches: + - 1.x + - 2.x pull_request: - branches: [1.x, 2.x] + branches: + - 1.x + - 2.x jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest] - php: [8.1] - laravel: [10.*] + php: [8.1, '8.2'] + laravel: ['10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}