Skip to content

chore: add static analysis #1

chore: add static analysis

chore: add static analysis #1

name: static-analysis
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:

Check failure on line 9 in .github/workflows/static-analysis.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/static-analysis.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
extensions: intl
coverage: none
- name: Install dependencies
uses: ramsey/composer-install@v3
- name: Run PHPStan
run: vendor/bin/phpstan --error-format=github