From 24380bc32ba172cae93e86b545958f480758f5d2 Mon Sep 17 00:00:00 2001 From: Shift Date: Thu, 13 Feb 2025 20:31:18 +0000 Subject: [PATCH] Update GitHub Actions for Laravel 12 --- .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 516cfb4..96d6126 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,18 +2,21 @@ name: run-tests on: push: - branches: [main] + branches: + - main pull_request: - branches: [main] + branches: + - main jobs: test: runs-on: ubuntu-latest + strategy: fail-fast: true matrix: php: [8.0, 8.1, 8.2, 8.3] - laravel: [11.*, 10.*, 9.*] + laravel: ['9.*', '10.*', '11.*', '12.*'] include: - laravel: 11.* testbench: 9.* @@ -21,6 +24,8 @@ jobs: testbench: 8.* - laravel: 9.* testbench: 7.* + - laravel: 12.* + testbench: 10.* exclude: - laravel: 10.* php: 8.0 @@ -28,6 +33,10 @@ jobs: php: 8.1 - laravel: 11.* php: 8.0 + - laravel: 12.* + php: 8.0 + - laravel: 12.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }}