mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 01:58:00 +08:00
25 lines
535 B
YAML
25 lines
535 B
YAML
name: phpstan
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
phpstan:
|
|
name: phpstan
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.0'
|
|
coverage: none
|
|
|
|
- name: Install composer dependencies
|
|
uses: ramsey/composer-install@v1
|
|
|
|
- name: Run PHPStan
|
|
run: ./vendor/bin/phpstan --error-format=github
|