From e45480c399dcbdccc122bedfff9f14f291ee43af Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 2 Mar 2024 14:54:39 +0000 Subject: [PATCH] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 35040e9..877dc1d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -2,28 +2,37 @@ name: Run all 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, windows-latest] php: [8.2, 8.1, 8.0] - laravel: [10.*, 9.*] + laravel: ['9.*', '10.*', '11.*'] stability: [prefer-lowest, prefer-stable] include: - laravel: 10.* testbench: ^8.0 - laravel: 9.* testbench: 7.* + - 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 }} @@ -52,4 +61,4 @@ jobs: run: composer show -D - name: Execute tests - run: vendor/bin/pest \ No newline at end of file + run: vendor/bin/pest