Skip to content

Commit

Permalink
composer.json: remove --prefer-lowest
Browse files Browse the repository at this point in the history
IMHO it's impractical to expect this package to have to work with the
"first release of Laravel for any major release" even when there are
already sever more releases: no one is/should stick to that version.

This is a re-submit of barryvdh#1076

See also:
- barryvdh#1216 (comment)
- barryvdh#1185 (comment)
  • Loading branch information
mfn committed May 3, 2021
1 parent dc5282e commit 002f979
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@ jobs:
matrix:
php: [8.0, 7.4, 7.3]
laravel: [8.*]
dependency-version: [prefer-lowest, prefer-stable]
exclude:
- php: 8.0
dependency-version: prefer-lowest

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}
name: P${{ matrix.php }} - L${{ matrix.laravel }}

steps:
- name: Checkout code
Expand All @@ -44,7 +40,7 @@ jobs:
composer remove vimeo/psalm --no-update --dev
composer remove friendsofphp/php-cs-fixer --no-update --dev
composer require "laravel/framework:${{ matrix.laravel }}" --no-update --no-progress
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress
composer update --prefer-dist --no-progress
- name: Execute Unit Tests
run: composer test-ci

0 comments on commit 002f979

Please sign in to comment.