Update composer dev dependencies #59
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" | |
- "pull_request" | |
jobs: | |
analysis: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Setup PHP Action" | |
uses: "shivammathur/setup-php@v2" | |
with: | |
php-version: "8.1" | |
extensions: "intl, xdebug" | |
- name: "Install dependencies" | |
if: steps.composer-cache.outputs.cache-hit != 'true' | |
run: composer install --prefer-dist --no-progress --no-suggest | |
- name: "PHPStan" | |
run: vendor/bin/phpstan analyse | |
- name: "Psalm" | |
run: vendor/bin/psalm | |