platform chekc #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Downgraded Install | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
downgraded_install: | |
runs-on: ubuntu-latest | |
steps: | |
# see https://github.com/shivammathur/setup-php | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.2 | |
coverage: none | |
# add some packages that could create confligs | |
- run: composer require symfony/console:^4.4 --ansi | |
# install this package | |
- run: composer require tomasvotruba/phpstan-bodyscan --ansi | |
- run: vendor/bin/phpstan-bodyscan list --ansi |