mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-08 20:22:24 +00:00
merge project workflows to validate_project
This commit is contained in:
parent
98b1277549
commit
1135d4f6da
|
@ -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
|
|
@ -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
|
20
.github/workflows/validate_services.yaml
vendored
20
.github/workflows/validate_services.yaml
vendored
|
@ -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
|
2
.github/workflows/validate_sets.yaml
vendored
2
.github/workflows/validate_sets.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user