silverstripe / gha-generate-matrix

GitHub Action - CI matrix generator
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

FIX Ensure jobs are created with compatible versions of php #16

Closed emteknetnz closed 1 year ago

emteknetnz commented 1 year ago

Issue https://github.com/silverstripe/gha-ci/issues/11

Ensure that the job created is compatible with the versions of PHP defined in composer.json

Example of this running on a workflow with an installer version of 4.10.x-dev, meaning php versions of 7.3, 7.4 and 8.0, though composer.json has ^7.4 || ^ 8.0 - only 7.4 + 8.0 jobs are created - https://github.com/emteknetnz/silverstripe-userforms/actions/runs/2654071193

emteknetnz commented 1 year ago

Have implemented logic to handle exact / wildcard / hyphenated / multiple constraints