psalm-plugin-laravel/.github/workflows/psalm.yml
2022-02-10 17:45:51 +01:00

23 lines
448 B
YAML

name: Psalm
on: [push, pull_request]
jobs:
psalm:
name: Psalm
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
run: composer install -n --prefer-dist
- name: Run Psalm
run: ./vendor/bin/psalm --threads=2 --shepherd