psalm-plugin-laravel/.github/workflows/psalm.yml
feek c71f15b2ef
chore: run github workflow on pr
Also run github workflow when a pr is made
2020-04-08 00:58:23 -07:00

23 lines
419 B
YAML

name: Run Psalm
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: export COMPOSER_ROOT_VERSION=dev-master && composer install --prefer-dist --no-progress --no-suggest
- name: Run Psalm
run: vendor/bin/psalm --threads=2 --shepherd