Skip to content

.github: update workflows #9

.github: update workflows

.github: update workflows #9

name: Static Analysis (informative)
on:
push:
branches:
- main
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
- run: composer install --no-progress --prefer-dist
- run: composer require phpstan/phpstan --no-progress --dev
- run: vendor/bin/phpstan analyse src/
continue-on-error: true # is only informative