Always install expected php version

This commit is contained in:
MDW 2025-01-14 15:43:55 +01:00
parent 7869e45954
commit 20f2293c01
No known key found for this signature in database

View File

@ -51,17 +51,7 @@ jobs:
- name: Setup PHPCS
uses: shivammathur/setup-php@v2
# Install when we're going to run phpcs
if: |
steps.changed-php.outputs.any_changed == 'true'
||
(
github.event_name == 'push'
&& (
github.event.ref == 'refs/heads/develop'
|| endsWith(github.event.ref, '.0')
)
)
# Install proper php version, and also install phpcs which may be needed
with:
php-version: ${{ env.PHP_VERSION }} # Version from check.php
coverage: none # disable xdebug, pcov