Skip to content

Merge branch 'main' into dependabot/github_actions/stefanzweifel/git-… #33

Merge branch 'main' into dependabot/github_actions/stefanzweifel/git-…

Merge branch 'main' into dependabot/github_actions/stefanzweifel/git-… #33

Workflow file for this run

name: PHPStan
on: [push, pull_request]
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.1"
- name: Cache composer dependencies
uses: actions/cache@v3
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
- name: Run composer install
run: composer install -n --prefer-dist
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse