mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 23:17:47 +01:00
update github workflows
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user