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