From c2392ba2c3417758f7f7481f8d0c02048ca5e11f Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 10:05:56 +0000 Subject: [PATCH 1/2] Bump dependencies for Laravel 11 --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index a5e4dcf..6122012 100644 --- a/composer.json +++ b/composer.json @@ -18,14 +18,14 @@ "require": { "php": "^8.1", "openspout/openspout": "^4.19", - "illuminate/support": "^9.0|^10.0" + "illuminate/support": "^9.0|^10.0|^11.0" }, "require-dev": { - "pestphp/pest-plugin-laravel": "^1.3", - "phpunit/phpunit": "^9.4", - "spatie/pest-plugin-snapshots": "^1.1", - "spatie/phpunit-snapshot-assertions": "^4.0", - "spatie/temporary-directory": "^1.2" + "pestphp/pest-plugin-laravel": "^1.3|^2.3", + "phpunit/phpunit": "^9.4|^10.5", + "spatie/pest-plugin-snapshots": "^1.1|^2.1", + "spatie/phpunit-snapshot-assertions": "^4.0|^5.1", + "spatie/temporary-directory": "^1.2|^2.2" }, "autoload": { "psr-4": { From fc8a03f0944a7118171c213952e06f7317393e21 Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 10:05:56 +0000 Subject: [PATCH 2/2] Update GitHub Actions for Laravel 11 --- .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 b69c760..32690f8 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,22 +1,29 @@ name: run-tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: - runs-on: ubuntu-latest + strategy: fail-fast: true matrix: php: [8.2, 8.1] - laravel: [10.*, 9.*] + laravel: ['9.*', '10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: 8.* - laravel: 9.* testbench: 7.* + - laravel: 11.* + testbench: 9.* + exclude: + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}