From 041d81f06c1d0bcde14f41667a3b07afc69063d7 Mon Sep 17 00:00:00 2001 From: Shift Date: Tue, 27 Feb 2024 21:05:38 +0000 Subject: [PATCH] Update GitHub Actions for Laravel 11 --- .github/workflows/run-tests.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 51da826..9dbb093 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,16 +1,19 @@ name: Tests -on: [push, pull_request] +on: + - push + - pull_request jobs: test: runs-on: ${{ matrix.os }} + strategy: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] php: [8.0, 8.1, 8.2] - laravel: [10.*, 9.*, 8.*] + laravel: ['8.*', '9.*', '10.*', '11.*'] dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 10.* @@ -22,9 +25,16 @@ jobs: - laravel: 8.* testbench: 6.* phpunit: 9.4.* + - laravel: 11.* + testbench: 9.* + phpunit: '8.2' exclude: - laravel: 10.* php: 8.0 + - laravel: 11.* + php: 8.0 + - laravel: 11.* + php: 8.1 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }} @@ -41,7 +51,7 @@ jobs: - name: Configure for PHP 8.2 run: composer config platform.php 8.1.99 - if: matrix.php == '8.2' + if: "matrix.php == '8.2'" - name: Install dependencies run: |