From 33c2c9de36a10c300d722159358a4a4492d1b7c3 Mon Sep 17 00:00:00 2001 From: Saade Date: Wed, 15 Feb 2023 14:03:39 -0300 Subject: [PATCH] Update GitHub Actions for Laravel 10 --- .github/workflows/ci.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b69cb53..b2046ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,20 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - laravel: [6, 8, 9] + php: ["7.3", "8.0", "8.1"] + laravel: ["^6.0", "^8.0", "^9.0", "^10.0"] + include: + - laravel: "^9.0" + testbench: "^7.0" + - laravel: "^10.0" + testbench: "^8.0" + exclude: + - laravel: "^10.0" + php: "8.0" + - laravel: "^10.0" + php: "7.3" + - laravel: "^9.0" + php: "7.3" steps: - name: Checkout code @@ -17,7 +30,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: ${{matrix.php}} - name: Start Redis uses: supercharge/redis-github-action@1.1.0