Skip to content

Commit 6d13e25

Browse files
committed
Fix CI
1 parent 6affb71 commit 6d13e25

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ jobs:
5151
restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer-
5252

5353
- name: Install dependencies
54-
run: composer install --prefer-dist --no-progress
54+
run: |
55+
composer require laravel/framework=${{ matrix.laravel }} --ignore-platform-req=php --no-update
56+
composer install --prefer-dist --no-progress --ignore-platform-req=php
5557
5658
- name: Validate composer.json and composer.lock
5759
run: composer validate
@@ -60,7 +62,7 @@ jobs:
6062
- name: Install Laravel Sample
6163
run: |
6264
composer remove codeception/module-laravel --dev --no-update
63-
composer update --no-progress
65+
composer install --no-progress
6466
working-directory: framework-tests
6567

6668
- name: Prepare the test environment and run test suite

0 commit comments

Comments
 (0)