Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasss93 committed Mar 10, 2024
1 parent 90a7423 commit cafb16c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit cafb16c

Please sign in to comment.