Skip to content

Merge pull request #1 from simplesquid/dependabot/github_actions/acti… #4

Merge pull request #1 from simplesquid/dependabot/github_actions/acti…

Merge pull request #1 from simplesquid/dependabot/github_actions/acti… #4

Workflow file for this run

name: PHPStan
on:
push:
paths:
- '**.php'
- 'phpstan.neon.dist'
- '.github/workflows/phpstan.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
phpstan:
name: phpstan
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
coverage: none
- name: Install composer dependencies
run: composer update --prefer-dist --no-interaction
- name: Run PHPStan
run: vendor/bin/phpstan analyse --error-format=github