[MAINT] Github Actions Reunification - `setup-di-compile`
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 35/100
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 12
- Forks
- 15
- Ø Merge
- 6 T. 39 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus mage-os/github-actions
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
mage-os/github-actions#341 ·
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
mage-os/github-actions#340 ·
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
mage-os/github-actions#364 ·
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 65/100
mage-os/github-actions#363 ·
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 35/100
mage-os/github-actions#359 · 3 Kommentare ·
Alle Issues in mage-os/github-actions
Ähnliche Issues
-
documentation Entwickler
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 89/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
area:frontend bug ci-test level:low priority:high
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
skytuhua-org/Gen-V1#2974 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
area: cli area: core priority: P3 type: bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
appandflow/stim#6736 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
naomiaro/waveform-playlist#973 ·
Maintainer antworten meist innerhalb von 1 Tag