From 6d13e25046904c83030fe587df9b2349b23e8eed Mon Sep 17 00:00:00 2001 From: Tavo Nieves J Date: Thu, 9 Sep 2021 21:51:03 -0500 Subject: [PATCH] Fix CI --- .github/workflows/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6199914..71b5786 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,7 +51,9 @@ jobs: restore-keys: ${{ runner.os }}-${{ matrix.php }}-composer- - name: Install dependencies - run: composer install --prefer-dist --no-progress + run: | + composer require laravel/framework=${{ matrix.laravel }} --ignore-platform-req=php --no-update + composer install --prefer-dist --no-progress --ignore-platform-req=php - name: Validate composer.json and composer.lock run: composer validate @@ -60,7 +62,7 @@ jobs: - name: Install Laravel Sample run: | composer remove codeception/module-laravel --dev --no-update - composer update --no-progress + composer install --no-progress working-directory: framework-tests - name: Prepare the test environment and run test suite