diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 8463948..b2b5ffa 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -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: |