use origin php setup action

pull/434/head
Rémi Laurent 2022-05-30 15:07:47 +02:00
parent 5ef86725b8
commit b728c2ee71
1 changed files with 11 additions and 12 deletions

View File

@ -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: |