Skip to content

Commit

Permalink
build(.github) iterate on v3.5 automated build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Dec 15, 2023
1 parent cdeeb8f commit 1948361
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build-35.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,22 @@ jobs:
run: composer validate --no-interaction --strict
- name: Install dependencies
uses: ramsey/composer-install@v2
- name: "Check PSR-4 mapping"
run: "composer dump-autoload --no-interaction --optimize --strict-psr"
- name: "Require rector"
run: "composer require --dev rector/rector"
- name: Check PSR-4 mapping"
run: composer dump-autoload --no-interaction --optimize --strict-psr
- name: Require rector
run: composer require --dev rector/rector
- name: Get changed files
id: changed-files
uses: yumemi-inc/changed-files@v3
with:
separator: " "
patterns: |
src/**/*.php
includes/**/*.php
tests/**/*.php
- name: Build v3.5
run: |
vendor/bin/rector --config=config/rector-35.php
vendor/bin/rector process --config=config/rector-35.php -- ${{ steps.changed-files.outputs.files }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
Expand Down

0 comments on commit 1948361

Please sign in to comment.