Fix PHP version in CI, lock to 7
This commit is contained in:
parent
1cf6fec3a5
commit
f76cc9d98f
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue