mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 09:47:29 +01:00
9784fe4999
Having Psalm installed under 8.1 leads to installing composer dependencies that use PHP syntax incompatible with 7.4, however Psalm analyzes itself using 7.4 parser.
22 lines
453 B
YAML
22 lines
453 B
YAML
name: Run Shepherd
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '7.4'
|
|
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
env:
|
|
COMPOSER_ROOT_VERSION: dev-master
|
|
|
|
- name: Run Psalm
|
|
run: ./psalm --threads=2 --output-format=github --shepherd
|