rector/scoped/.github/workflows/along_phpstan.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

41 lines
1.0 KiB
YAML

name: Along PHPStan
on: [pull_request, push]
jobs:
along_phpstan:
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 phpstan/phpstan --dev --ansi
-
run: |
cd standalone
vendor/bin/rector -h --ansi
vendor/bin/phpstan -h --ansi