From e8b1428f19ab1ea44d428ded169f608839b4a3e0 Mon Sep 17 00:00:00 2001 From: Khoubza Younes Date: Wed, 11 Jan 2023 18:02:54 +0100 Subject: [PATCH] update github workflows --- .github/workflows/tests.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index bfe96dff..b03c4981 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -54,9 +54,8 @@ jobs: - name: Install dependencies run: | + sed -i '/\"require\": {/,/},/d; /\"require-dev\": {/,/},/d' composer.json composer config --global allow-plugins true - composer remove illuminate/support symfony/config symfony/console symfony/dependency-injection symfony/http-kernel symfony/translation symfony/twig-bundle --no-interaction --no-update - composer remove ergebnis/composer-normalize friendsofphp/php-cs-fixer livewire/livewire phpstan/phpstan phpunit/phpunit symplify/monorepo-builder --no-interaction --no-update --dev composer config extra.symfony.require "${{ matrix.symfony }}" composer require "symfony/symfony:${{ matrix.symfony }}" "phpunit/phpunit:${{ matrix.phpunit }}" --no-interaction --no-update composer update --prefer-stable --prefer-dist @@ -72,7 +71,7 @@ jobs: os: [ubuntu-latest, windows-latest] laravel: [ 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*, 5.4.*, 5.3.*, 5.2.*, 5.1.*, 5.0.*, 4.2.*, 4.1.*, 4.0.* ] include: - - { laravel: 9.*, testbench: 7.*, php: 8.2, phpunit: 9.5.* } + - { laravel: 9.*, testbench: 7.*, php: 8.1, phpunit: 9.5.* } - { laravel: 8.*, testbench: 6.*, php: 7.3, phpunit: 9.3.* } - { laravel: 7.*, testbench: 5.*, php: 7.3, phpunit: 8.4.* } - { laravel: 6.*, testbench: 4.*, php: 7.2, phpunit: 8.3.* } @@ -104,9 +103,8 @@ jobs: - name: Install dependencies run: | + sed -i '/\"require\": {/,/},/d; /\"require-dev\": {/,/},/d' composer.json composer config --global allow-plugins true - composer remove illuminate/support symfony/config symfony/console symfony/dependency-injection symfony/http-kernel symfony/translation symfony/twig-bundle --no-interaction --no-update - composer remove ergebnis/composer-normalize friendsofphp/php-cs-fixer livewire/livewire phpstan/phpstan phpunit/phpunit symplify/monorepo-builder --no-interaction --no-update --dev composer require "laravel/framework:${{ matrix.laravel }}" "phpunit/phpunit:${{ matrix.phpunit }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update composer update --prefer-stable --prefer-dist