merge project workflows to validate_project

This commit is contained in:
TomasVotruba 2020-04-23 22:34:02 +02:00
parent 98b1277549
commit 1135d4f6da
4 changed files with 8 additions and 42 deletions

View File

@ -1,22 +0,0 @@
# related PR: https://github.com/rectorphp/rector/pull/3134
name: Validate Doctine Annotation
on:
pull_request: null
push:
branches:
- master
jobs:
validate_doctrine_annotation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
with:
php-version: 7.4
coverage: none # disable xdebug, pcov
extensions: "intl"
- run: composer install --no-progress
- run: |
bin/rector sync-annotation-parser --dry-run

View File

@ -17,5 +17,11 @@ jobs:
coverage: none
- run: composer install --no-progress
- run: bin/rector validate-fixtures --ansi
- run: bin/rector validate-fixture-suffix --ansi
- run: bin/rector sync-annotation-parser --dry-run --ansi
- run: bin/rector validate-services-in-sets --ansi

View File

@ -1,20 +0,0 @@
name: Validate Services
on:
pull_request: null
push:
branches:
- master
jobs:
validate_services:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v1
with:
php-version: 7.4
coverage: none
- run: composer install --no-progress
- run: bin/rector validate-services-in-sets --ansi

View File

@ -17,4 +17,6 @@ jobs:
coverage: none
- run: composer install --no-progress
# this is very slow, so it has to be in own workflow
- run: bin/rector validate-sets --ansi