Skip to content

Commit

Permalink
github workflow ignore platform reqs on composer install
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Aug 2, 2024
1 parent 1a5f4ec commit a1d168f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: "lint PHP files"
run: "php -l src/ tests/"
- name: "install composer dependencies"
run: "composer install --prefer-dist --no-progress"
run: "composer install --prefer-dist --no-progress --ignore-platform-reqs"
# PHPStan
- name: "PHPStan static analysis"
uses: "php-actions/phpstan@v3"
Expand All @@ -68,7 +68,7 @@ jobs:
- name: "check PHP version"
run: "php -v"
- name: "install composer dependencies"
run: "composer install --prefer-dist --no-progress"
run: "composer install --prefer-dist --no-progress --ignore-platform-reqs"
- name: "CodeClimate reporter setup"
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand Down

0 comments on commit a1d168f

Please sign in to comment.