Skip to content

chore: Use stable version #23

chore: Use stable version

chore: Use stable version #23

name: Static Analysis
on:
pull_request:
branches:
- main
jobs:
static-analysis:
name: Static Analysis
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: redis
tools: composer:v2
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
with:
composer-options: --prefer-dist --optimize-autoloader
- name: Run PHPStan
run: ./vendor/bin/phpstan analyse --error-format=github