mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2024-12-03 18:17:53 +01:00
c71f15b2ef
Also run github workflow when a pr is made
23 lines
419 B
YAML
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
|