Skip to content

Merge pull request #1 from feature-ninja/dependabot/github_actions/de… #7

Merge pull request #1 from feature-ninja/dependabot/github_actions/de…

Merge pull request #1 from feature-ninja/dependabot/github_actions/de… #7

name: Static analysis
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v3
- name: Run PHPStan
run: ./vendor/bin/phpstan --error-format=github