ci: run all checks on a single worker for PHP 8.5#61
Conversation
Drop the 8.4/8.5 build matrix so the test, PHPCS, PHPStan, Rector and unused-sniffs checks run once on a single worker, reducing GitHub Actions minutes usage. Closes #59
|
Status: needs-fix Findings🟠 Moderate 1. Declared PHP floor (8.4) is no longer exercised by CI
🟡 Minor 1. Status-check context renamed — reconcile with branch protection
Refactoring proposals
Summary: 0 Critical · 1 Moderate · 1 Minor · 0 Refactoring · assignment conformance: conformant · posted summary to issue #59 |
Resolves the code-review finding that composer.json declared support for PHP 8.4 while CI only tests 8.5. Align the declared minimum, the dependency update workflow and the README with the single tested version. Refs #59
Code review — resolutionFinal state: 0 Critical · 0 Moderate · 0 blocking Minor Moderate (resolved)
This is a deliberate, owner-approved drop of PHP 8.4 support so the package no longer advertises an untested version. Minor (verified, no action needed)Status-check context rename ( Security review: no findings (YAML-only change, actions pinned on unchanged lines). |
Summary
Sjednocuje CI checkery na jeden worker pro jednu PHP verzi (8.5). Doposud běžel matrix
8.4+8.5, tedy dva workery; tím se spotřeba GitHub Actions minut zhruba půlí.Všechny kontroly (
composer test,composer check,composer phpstan,composer rector,composer check-unused-sniffs) zůstávají beze změny — jen běží jednou.Resolves #59
Testing
composer buildlokálně OK (PHPCS, PHPStan, Rector, unused-sniffs, 10 testů)Poznámka / TODO
php: ^8.4, ale CI nově testuje pouze 8.5. Je to vědomý kompromis dle zadání (fix ci #59) kvůli úspoře Actions limitů. Pokud by bylo potřeba garantovat kompatibilitu s 8.4, lze do budoucna zvážit občasný matrix běh (např. jen namaster).