Action: setup-di-compile
Status: π΄ Refactor β remove embedded PHP setup and checkout
Files: setup-di-compile/action.yml
Context
Graycore removed setup-di-compile entirely (feat!: remove unmaintained setup-di-compile action, Feb 2026). The mage-os fork retains it but needs the same lean treatment applied to coding-standard (feat(coding-standard)!: remove pr-diff feature and built-in php setup): strip embedded checkout and PHP setup, let calling workflows own those concerns.
Current problems
| Area |
Current (mage-os) |
Target |
php_version / composer_version inputs |
Present β drives embedded PHP setup |
Remove; caller handles PHP setup |
actions/checkout@v3 step |
Embedded in action |
Remove; caller must checkout |
shivammathur/setup-php@v2 step |
Embedded in action |
Remove |
cache-magento mode: 'store' |
Uses deprecated mode input |
Remove mode: (aligns with action-cache-magento.md) |
tj-actions/changed-files@v39 |
Gates all steps on changed files |
Remove β action always runs |
Dependents
| Repo |
Risk |
ryansunxl/mageos-magento2 |
Uses setup-di-compile β callers must add PHP setup before using the action |
mage-os/mageos-magento2 |
Uses setup-di-compile β same |
Removing php_version / composer_version inputs is a breaking change. Coordinate with or open PRs in both repos to add a shivammathur/setup-php@v2 step before the setup-di-compile call.
Changes needed
- Remove
actions/checkout step β caller is responsible for checkout
- Remove
shivammathur/setup-php@v2 step β caller is responsible for PHP/composer setup
- Remove
php_version and composer_version inputs
- Remove
mode: 'store' from the cache-magento call (after update-cache-magento PR merges)
- Remove
tj-actions/changed-files step and all if: steps.changed-files.outputs.magento_any_changed == 'true' conditions β action always runs unconditionally
- Open migration PRs in
ryansunxl/mageos-magento2 and mage-os/mageos-magento2 before or alongside this change
Action: setup-di-compile
Status: π΄ Refactor β remove embedded PHP setup and checkout
Files:
setup-di-compile/action.ymlContext
Graycore removed
setup-di-compileentirely (feat!: remove unmaintained setup-di-compile action, Feb 2026). The mage-os fork retains it but needs the same lean treatment applied tocoding-standard(feat(coding-standard)!: remove pr-diff feature and built-in php setup): strip embedded checkout and PHP setup, let calling workflows own those concerns.Current problems
php_version/composer_versioninputsactions/checkout@v3stepshivammathur/setup-php@v2stepcache-magentomode: 'store'modeinputmode:(aligns withaction-cache-magento.md)tj-actions/changed-files@v39Dependents
ryansunxl/mageos-magento2setup-di-compileβ callers must add PHP setup before using the actionmage-os/mageos-magento2setup-di-compileβ sameRemoving
php_version/composer_versioninputs is a breaking change. Coordinate with or open PRs in both repos to add ashivammathur/setup-php@v2step before thesetup-di-compilecall.Changes needed
actions/checkoutstep β caller is responsible for checkoutshivammathur/setup-php@v2step β caller is responsible for PHP/composer setupphp_versionandcomposer_versioninputsmode: 'store'from thecache-magentocall (afterupdate-cache-magentoPR merges)tj-actions/changed-filesstep and allif: steps.changed-files.outputs.magento_any_changed == 'true'conditions β action always runs unconditionallyryansunxl/mageos-magento2andmage-os/mageos-magento2before or alongside this change