xref: /webtrees/.github/workflows/phpstan.yaml (revision b56fa9dd6a5e9075de5337fd34748412e9e559a7)
1name: Static analysis
2
3on: [push, pull_request]
4
5jobs:
6  run:
7    runs-on: ubuntu-latest
8    name: phpstan
9
10    steps:
11      - uses: actions/checkout@v2
12
13      - run: composer validate
14
15      - run: composer global require phpstan/phpstan phpstan/extension-installer phpstan/phpstan-deprecation-rules phpstan/phpstan-strict-rules phpstan/phpstan-phpunit
16
17      - run: composer install --no-progress
18
19      - run: ~/.composer/vendor/bin/phpstan analyze --no-progress --level=max app modules_v4 index.php
20