diff --git a/.github/workflows/pull-request-checks.yaml b/.github/workflows/pull-request-checks.yaml index e2a7dbf..c35e224 100644 --- a/.github/workflows/pull-request-checks.yaml +++ b/.github/workflows/pull-request-checks.yaml @@ -8,10 +8,14 @@ jobs: strategy: matrix: php: ['7.4'] + composer-options: + - --prefer-dist --no-progress --no-interaction + - --prefer-dist --no-progress --no-interaction --prefer-lowest + steps: # Checkout & installation - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -20,11 +24,12 @@ jobs: ini-values: "memory_limit=-1" php-version: "${{ matrix.php }}" - - name: Composer install - run: composer update --prefer-dist --no-progress --no-suggest --no-interaction --prefer-lowest + # Install project + - name: Install dependencies + run: composer install --prefer-dist --no-progress --no-interaction - - name: PHPCS Fixer install - run: composer bin php-cs-fixer update + - name: Composer update + run: composer update ${{ matrix.composer-options }} # Linters - name: Run Composer linter