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
|
|
|
|
2022-06-28 02:29:16 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2019-12-03 04:18:16 +01:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-06-30 19:05:08 +02:00
|
|
|
- uses: actions/checkout@v3
|
2022-05-29 06:44:18 +02:00
|
|
|
- uses: shivammathur/setup-php@v2
|
|
|
|
with:
|
2022-11-24 19:30:11 +01:00
|
|
|
php-version: '8.2'
|
2023-02-16 10:45:42 +01:00
|
|
|
ini-values: zend.assertions=1
|
|
|
|
tools: composer:v2
|
|
|
|
coverage: none
|
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
|