Fix PHP version in CI, lock to 7

This commit is contained in:
Oliver Davies 2020-12-16 19:03:53 +00:00
parent 1cf6fec3a5
commit f76cc9d98f

View file

@ -4,7 +4,7 @@ on:
pull_request: pull_request:
env: env:
php_verion: 7.4 php_version: '7.4'
jobs: jobs:
install: install:
@ -32,7 +32,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@5d27b8f uses: shivammathur/setup-php@5d27b8f
with: with:
php-version: $php_version php-version: ${{ env.php_version }}
extensions: mbstring extensions: mbstring
coverage: none coverage: none
@ -123,7 +123,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@5d27b8f uses: shivammathur/setup-php@5d27b8f
with: with:
php-version: $php_version php-version: ${{ env.php_version }}
extensions: mbstring extensions: mbstring
coverage: none coverage: none
@ -164,7 +164,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@5d27b8f uses: shivammathur/setup-php@5d27b8f
with: with:
php-version: $php_version php-version: ${{ env.php_version }}
- name: Install dependencies - name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-suggest run: composer install --prefer-dist --no-interaction --no-suggest
@ -197,7 +197,7 @@ jobs:
- name: Setup PHP - name: Setup PHP
uses: shivammathur/setup-php@5d27b8f uses: shivammathur/setup-php@5d27b8f
with: with:
php-version: $php_version php-version: ${{ env.php_version }}
- name: Install dependencies - name: Install dependencies
run: composer install --prefer-dist --no-interaction --no-suggest run: composer install --prefer-dist --no-interaction --no-suggest