rector/scoped/.github/workflows/finalize_classes.yaml
Tomas Votruba 520335251d
[scoper] keep phpstan.phar to avoid conflict in install (#5009)
* fix scoping of Symfony autodiscovery namespace

* scoped: add along phpstan run

* wait longer, the old version is used

* keep phpstan.phar
2020-12-27 21:14:39 +00:00

40 lines
1.1 KiB
YAML

name: Finalize Classes
on: [pull_request, push]
jobs:
finalize_classes:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php_version: ['7.3', '7.4', '8.0']
name: "PHP ${{ matrix.php_version }}"
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
coverage: none
- run: |
mkdir standalone
cd standalone
# wait for deploy to packagist
sleep 60
- run: |
cd standalone
# run
composer require rector/rector-prefixed:dev-master --dev --ansi
composer require doctrine/orm
-
run: |
cd standalone
vendor/bin/rector process ../tests/fixture-finalize --config ../ci/rector-finalize.php --ansi