When using this as CI, sometimes you want a matrix of different PHP versions to test against. To do this at the moment you need to disable autostart, set the version, and then manually start, e.g.
- uses: ddev/github-action-setup-ddev@v1
with:
autostart: false
- name: Setup PHP Version
run: ddev config --php-version ${{ matrix.php }}
- name: Start ddev
run: ddev start
It would be nicer DX if we could just say
- uses: ddev/github-action-setup-ddev@v1
with:
php-version: ${{ matrix.php }}
When using this as CI, sometimes you want a matrix of different PHP versions to test against. To do this at the moment you need to disable autostart, set the version, and then manually start, e.g.
It would be nicer DX if we could just say