Standalone Install #27
Workflow file for this run
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: Standalone Install | |
on: [pull_request, push] | |
jobs: | |
standalone_install: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
php_version: ['7.4', '8.0', '8.3'] | |
steps: | |
# prepare empty composer.json that allows the phpstan extension plugin | |
- run: composer init --name just/for-test --quiet | |
- run: composer config --no-plugins allow-plugins.phpstan/extension-installer true | |
- run: composer require phpstan/phpstan phpstan/extension-installer --dev | |
- run: composer require symplify/phpstan-rules:dev-main --dev | |