From a46883d312a2aff17b7a363109423c529b103a3f Mon Sep 17 00:00:00 2001 From: Warrick Bayman Date: Wed, 28 Jun 2023 22:06:02 +0200 Subject: [PATCH] Cleaning up --- .github/workflows/php.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 5e378f6..3142601 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -8,11 +8,20 @@ jobs: strategy: matrix: - php: [8.0] + php: [8.1, 8.2] + laravel: [9.*, 10.*] + stability: [ prefer-lowest, prefer-stable ] + include: + - laravel: 10.* + testbench: 8.* + - laravel: 9.* + testbench: 7.* + + name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -23,7 +32,8 @@ jobs: - name: Install dependencies run: | - composer update --prefer-dist --no-interaction --no-suggest + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: Execute tests run: vendor/bin/phpunit