Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Require dev version and also stable (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Feb 20, 2022
1 parent d78f725 commit 3bc3456
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ jobs:
- laravel: ^8
php: 7.3
dependency-version: prefer-lowest
- laravel: ^8
php: 7.4
dependency-version: dev
- laravel: ^8
php: 8.0
dependency-version: prefer-stable
- laravel: ^9
php: 8.1
dependency-version: prefer-stable
- laravel: ^9
php: 8.1
dependency-version: dev

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

Expand All @@ -51,7 +57,7 @@ jobs:
php-version: ${{ matrix.php }}
coverage: none
tools: composer:v2

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,5 @@
"check-style": "phpcs -p --standard=psr12 src/",
"fix-style": "phpcbf -p --standard=psr12 src/"
},
"minimum-stability": "dev",
"prefer-stable": true
"minimum-stability": "dev"
}

0 comments on commit 3bc3456

Please sign in to comment.