From d30d7db1295e003f9850aa90cf355446be239d81 Mon Sep 17 00:00:00 2001 From: Shift Date: Fri, 1 Mar 2024 17:35:59 +0000 Subject: [PATCH] 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 38fc3eb..405e2bb 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] php: [8.2, 8.1, 8.0] - laravel: [9.*, 8.*, 10.*] + laravel: ['8.*', '9.*', '10.*', '11.*'] stability: [prefer-stable] include: - laravel: 10.* @@ -23,9 +26,15 @@ jobs: testbench: ^7.0 - laravel: 8.* testbench: ^6.6 + - laravel: 11.* + testbench: ^9.0 exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.1 + - laravel: 11.* + php: 8.0 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}