diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80445ed..2b3e3df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,16 +83,28 @@ jobs: docker-php-ext-configure intl docker-php-ext-configure gd docker-php-ext-install pdo pdo_mysql intl gd - - name: Install Composer - run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet - - name: Remove composer.lock - run: rm -rf composer.lock - - name: Install lowest dependencies with Composer + # - name: Install Composer + # run: wget -qO - https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet + - name: Install dependencies if: matrix.dependencies == 'lowest' - run: composer update --no-progress --no-interaction --prefer-stable --prefer-lowest --ansi - - name: Install highest dependencies with Composer + uses: php-actions/composer@v6 + with: + command: update + php_version: "${{ matrix.php }}" + args: " --no-progress --no-interaction --ansi --prefer-stable --prefer-lowest" + - name: Install dependencies if: matrix.dependencies == 'highest' - run: composer update --no-progress --no-interaction --ansi + uses: php-actions/composer@v6 + with: + command: update + php_version: "${{ matrix.php }}" + args: " --no-progress --no-interaction --ansi" + # - name: Install lowest dependencies with Composer + # if: matrix.dependencies == 'lowest' + # run: composer update --no-progress --no-interaction --prefer-stable --prefer-lowest --ansi + # - name: Install highest dependencies with Composer + # if: matrix.dependencies == 'highest' + # run: composer update --no-progress --no-interaction --ansi - name: Migrate database run: bin/console doctrine:schema:update --force --no-interaction - name: Run tests with PHPUnit