1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
psalm/.github/workflows/shepherd.yml

30 lines
607 B
YAML
Raw Normal View History

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
permissions:
contents: read
2019-12-03 04:18:16 +01:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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
env:
fail-fast: true
2019-12-03 04:18:16 +01:00
- name: Install dependencies
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
run: ./psalm --threads=2 --output-format=github --shepherd