use downgrade config without version #477
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: Bare Run on various PHP versions | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
bare_run: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php_version: ['7.4', '8.0', '8.2'] | |
steps: | |
- uses: actions/checkout@v3 | |
- | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php_version }} | |
coverage: none | |
- run: mkdir nested-dir | |
- run: composer require symplify/phpstan-rules --dev --ansi | |
working-directory: nested-dir |