mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 03:02:33 +01:00
* fix scoping of Symfony autodiscovery namespace * scoped: add along phpstan run * wait longer, the old version is used * keep phpstan.phar
41 lines
1.0 KiB
YAML
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
|