new master branch: phar build #45
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: PHPStan | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- '*' | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php-version: ['8.0', '8.1', '8.2'] # Add or remove PHP versions as needed | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php-version }} | |
extensions: mbstring, intl | |
- name: Install dependencies | |
run: composer install --no-progress --no-suggest | |
- name: Run PHPStan | |
run: vendor/bin/phpstan analyze |