Skip to content

Commit

Permalink
Modify pr-check, also run it on lowest dependency versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-van-amelsvoort committed May 24, 2024
1 parent bdfd5a9 commit 67b273e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 67b273e

Please sign in to comment.