[MAINT] Github Actions Reunification - `setup-di-compile`
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 12
- Forks
- 15
- Merge medio
- 3 d 15 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mage-os/github-actions
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
mage-os/github-actions#341 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
mage-os/github-actions#340 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
mage-os/github-actions#364 ·
-
Dificultad 3/5 Medio día Aptitud para principiantes 65/100
mage-os/github-actions#363 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
mage-os/github-actions#359 · 3 comentarios ·
Todos los issues de mage-os/github-actions
Issues similares
-
api bug priority:low ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
wondermoney/wondermoney#862 ·
Los mantenedores suelen responder en 1 día
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
rootsiemen/seo-agent-tools#70 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
alvinunreal/oh-my-opencode-slim#1971 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
elecnix/bellwether#467 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día