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 8fc819f
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 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 All @@ -39,6 +48,6 @@ jobs:
body: "v3.5 automated build changes created by the v3.5 automated build workflow"
assignees: "lucatume"
add-paths: |
includes/*.php
src/*.php
tests/*.php
includes/**/*.php
src/**/*.php
tests/**/*.php

0 comments on commit 8fc819f

Please sign in to comment.