From cafb16c9d84313144ca81eaf4df47a03edfc7d1e Mon Sep 17 00:00:00 2001 From: Luca Patera Date: Sun, 10 Mar 2024 15:30:20 +0100 Subject: [PATCH] Update workflow --- .github/workflows/php.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index b86694f..76cf425 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,6 +11,7 @@ jobs: matrix: php: [ 8.2, 8.3 ] laravel: [9.*, 10.*, 11.*] + dependency-version: [prefer-lowest, prefer-stable] include: - laravel: 11.* testbench: 9.* @@ -19,7 +20,7 @@ jobs: - laravel: 9.* testbench: 7.* - name: PHP ${{ matrix.php }} + Laravel ${{ matrix.laravel }} + name: PHP ${{ matrix.php }} + Laravel ${{ matrix.laravel }} | ${{ matrix.dependency-version }} steps: - uses: actions/checkout@v2 @@ -44,8 +45,8 @@ jobs: - name: Install dependencies if: steps.composer-cache.outputs.cache-hit != 'true' run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update - composer update --prefer-dist --no-interaction --no-suggest + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-update --no-progress + composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress - name: Run test suite run: composer run-script test