mirror of
https://github.com/danog/psalm.git
synced 2024-12-16 19:36:59 +01:00
25 lines
484 B
YAML
25 lines
484 B
YAML
name: Run Shepherd
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: '8.2'
|
|
|
|
- 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
|