From d28c1000007495e7a9922d07b994a7b516c503ae Mon Sep 17 00:00:00 2001 From: Feek Date: Wed, 10 Jun 2020 01:05:47 -0700 Subject: [PATCH] chore: test with composer 2 --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dd1849a..762bced 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,11 +26,12 @@ jobs: with: php-version: ${{ matrix.php }} coverage: none + tools: composer:v2 - name: Install dependencies run: | - export COMPOSER_ROOT_VERSION=dev-master - composer require "illuminate/container:${{ matrix.illuminate_version }}" "illuminate/contracts:${{ matrix.illuminate_version }}" "illuminate/database:${{ matrix.illuminate_version }}" "illuminate/http:${{ matrix.illuminate_version }}" "illuminate/support:${{ matrix.illuminate_version }}" --no-interaction --no-progress --no-suggest --prefer-stable --prefer-dist ${{ matrix.composer_flags }} + composer install + composer update "illuminate/container:${{ matrix.illuminate_version }}" "illuminate/contracts:${{ matrix.illuminate_version }}" "illuminate/database:${{ matrix.illuminate_version }}" "illuminate/http:${{ matrix.illuminate_version }}" "illuminate/support:${{ matrix.illuminate_version }}" --no-interaction --no-progress --prefer-stable --prefer-dist ${{ matrix.composer_flags }} - name: Run Tests run: vendor/bin/codecept run