use origin php setup action
parent
5ef86725b8
commit
b728c2ee71
|
@ -20,19 +20,18 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
# PHP
|
# PHP
|
||||||
#- name: Cache Composer dependencies
|
- name: Setup PHP
|
||||||
# uses: actions/cache@v2
|
uses: shivammathur/setup-php@v2
|
||||||
# with:
|
|
||||||
# path: /tmp/composer-cache
|
|
||||||
# key: ${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
uses: php-actions/composer@v6
|
|
||||||
with:
|
with:
|
||||||
php_version: ${{ matrix.php-version }}
|
php-version: ${{ matrix.php-version }}
|
||||||
command: install
|
tools: composer:v2.3
|
||||||
# php_extensions: json pdo bcmath
|
extensions: bcmath
|
||||||
version: 2.3.x
|
|
||||||
|
- name: Validate composer.json and composer.lock
|
||||||
|
run: composer validate
|
||||||
|
|
||||||
|
- name: Install PHP dependencies
|
||||||
|
run: composer install --prefer-dist --no-progress --no-suggest
|
||||||
|
|
||||||
- name: Symlink Monarc modules
|
- name: Symlink Monarc modules
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue