mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
8455d71a9b
Because installing packages with 8.1 and checking them as if we're running 7.1 just doesn't work.
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: '8.0'
|
|
|
|
- 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
|