Merge pull request #20 from janu-software/php84 #94
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: Static analysis | |
on: | |
push: | |
branches: [ main ] | |
pull_request: null | |
jobs: | |
sa: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.1', '8.2', '8.3', '8.4' ] | |
name: PHP ${{ matrix.php }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
coverage: none | |
- run: composer install --prefer-dist --no-progress --no-suggest | |
- run: php vendor/bin/phpstan.phar analyse src |