Skip to content

Commit

Permalink
Run PHPStan on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fbourigault authored and dbu committed Oct 6, 2021
1 parent 9aa2596 commit 3f78384
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: PHPStan

on:
pull_request:
push:

jobs:
phpstan:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none

- name: Update project dependencies
uses: ramsey/composer-install@v1

- name: Run PHPStan
run: vendor/bin/phpstan analyze

0 comments on commit 3f78384

Please sign in to comment.