Skip to content

Commit

Permalink
Added phpstan workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Schläpfer committed Sep 30, 2023
1 parent dc7ffbd commit a0774e6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: PHPStan

on: [push]

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'

- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest

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

0 comments on commit a0774e6

Please sign in to comment.