[MAINT] Github Actions Reunification - `setup-di-compile`
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- Une demi-journée
- Accessibilité débutants
- 35/100
Piste de recherche
The work is in setup-di-compile/action.yml. Remove the actions/checkout and shivammathur/setup-php steps, the php_version and composer_version inputs, the mode: 'store' input on cache-magento, and the tj-actions/changed-files step with its if: gates. Done when the action runs unconditionally and has no embedded checkout or PHP setup. The breaking change needs migration PRs in the dependent repos, so confirm that plan with maintainers before merging.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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/checkoutstep — caller is responsible for checkout - Remove
shivammathur/setup-php@v2step — caller is responsible for PHP/composer setup - Remove
php_versionandcomposer_versioninputs - Remove
mode: 'store'from thecache-magentocall (afterupdate-cache-magentoPR merges) - Remove
tj-actions/changed-filesstep and allif: steps.changed-files.outputs.magento_any_changed == 'true'conditions — action always runs unconditionally - Open migration PRs in
ryansunxl/mageos-magento2andmage-os/mageos-magento2before or alongside this change
- Langage dominant
- TypeScript
- Étoiles
- 12
- Forks
- 15
- Merge moyen
- 3 j 15 h
- PR mergées (30 j)
- 5
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de mage-os/github-actions
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 75/100
mage-os/github-actions#341 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
mage-os/github-actions#340 ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
mage-os/github-actions#364 ·
-
Difficulté 3/5 Une demi-journée Accessibilité débutants 65/100
mage-os/github-actions#363 ·
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 35/100
mage-os/github-actions#359 · 3 commentaires ·
Toutes les issues de mage-os/github-actions
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
genfeedai/genfeed.ai#11828 ·
Les mainteneurs répondent en général sous 1 jour
-
bug security
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
IbrahimHafez1/loadwise#251 ·
Les mainteneurs répondent en général sous 1 jour
-
bug good first issue
Difficulté 2/5 1-3 heures Accessibilité débutants 90/100
erkamyaman/unslop-anything#415 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
Yeachan-Heo/oh-my-codex#4278 ·
Les mainteneurs répondent en général sous 1 jour
-
admin
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour