Skip to content

Commit 1a7add2

Browse files
committed
fix(ci): install dependencies step
1 parent cf72adc commit 1a7add2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- php-version: '8.0'
2626
laravel-version: '5.8.*'
2727

28-
name: Tests on PHP ${{ matrix.php-version }}
28+
name: Tests on PHP ${{ matrix.php-version }} with Laravel ${{ matrix.laravel-version }}
2929

3030
steps:
3131
- name: Checkout
@@ -50,7 +50,7 @@ jobs:
5050
5151
- name: Install dependencies
5252
if: steps.composer-cache.outputs.cache-hit != 'true'
53-
run: composer install --prefer-dist --no-progress --no-suggest
53+
run: composer update --with "illuminate/contracts=${{ matrix.laravel-version }}" --prefer-dist --no-progress --no-suggest
5454

5555
- name: Install laravel/legacy-factories only for Laravel 8.0
5656
if: matrix.laravel-version == '^8.0'

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
],
1919
"require": {
20-
"php": ">=7.1",
20+
"php": ">=7.2",
2121
"illuminate/contracts": ">=5.7",
2222
"illuminate/database": ">=5.7",
2323
"illuminate/support": ">=5.7"

0 commit comments

Comments
 (0)