Skip to content

Update build workflow configuration #360

Update build workflow configuration

Update build workflow configuration #360

Workflow file for this run

# .github/workflows/analysis.yml
name: "Static analysis"
on: [ push ]
jobs:
build:
name: "PHPStan"
runs-on: ubuntu-22.04
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Environment"
uses: shivammathur/setup-php@v2
with:
php-version: "7.1"
coverage: "xdebug"
- name: "Dependencies"
run: |
php --version
composer --version
COMPOSER_MEMORY_LIMIT=-1 composer update
- name: "Application"
run: |
vendor/bin/phpstan --version
vendor/bin/phpstan --error-format=github --no-progress --configuration=phpstan.conf.neon