2019-12-03 04:18:47 +01:00
|
|
|
name: Run Shepherd
|
2019-12-03 04:18:16 +01:00
|
|
|
|
2020-02-24 17:31:20 +01:00
|
|
|
on: [push, pull_request]
|
2019-12-03 04:18:16 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2020-01-06 22:41:03 +01:00
|
|
|
- uses: actions/checkout@v2
|
2022-05-28 22:45:49 +02:00
|
|
|
- uses: shivammathur/setup-php@v2
|
|
|
|
with:
|
|
|
|
php-version: '7.4'
|
2019-12-03 04:18:16 +01:00
|
|
|
|
|
|
|
- name: Install dependencies
|
2020-01-12 16:39:08 +01:00
|
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
env:
|
|
|
|
COMPOSER_ROOT_VERSION: dev-master
|
|
|
|
|
2019-12-03 04:18:16 +01:00
|
|
|
- name: Run Psalm
|
2020-01-23 13:14:48 +01:00
|
|
|
run: ./psalm --threads=2 --output-format=github --shepherd
|