Skip to content

static analysis workflow #1

static analysis workflow

static analysis workflow #1

name: PHPStan Static Analysis
on:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install Composer dependencies
run: composer install
- name: PHPStan Static Analysis
run: ./vendor/bin/phpstan --memory-limit=2G