mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
* make use Symplify/PhpDocParser * report line * remove monorepo-builder, not needed anymore * use php action 2 * fixup! use php action 2
35 lines
1022 B
YAML
35 lines
1022 B
YAML
name: Rector Run
|
|
|
|
on:
|
|
pull_request: null
|
|
|
|
jobs:
|
|
matrix:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
actions:
|
|
-
|
|
name: Rector without Dev Dependencies
|
|
install: composer install --no-progress --ansi --no-dev
|
|
run: |
|
|
# needs to remove, add dev dependencies are missing and phpstan.neon includes them
|
|
rm phpstan.neon
|
|
bin/rector list
|
|
|
|
runs-on: ubuntu-latest
|
|
name: ${{ matrix.actions.name }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
# see https://github.com/shivammathur/setup-php
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 7.4
|
|
coverage: none
|
|
tools: composer:v2
|
|
|
|
- run: ${{ matrix.actions.install }}
|
|
|
|
- run: ${{ matrix.actions.run }}
|