Skip to content

Actualize (#3)

Actualize (#3) #12

Workflow file for this run

name: static analysis
on:
pull_request:
push:
branches:
- master
jobs:
mutation:
name: PHP ${{ matrix.php }}-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
php:
- 8.2
- 8.3
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP with extensions
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php }}
tools: composer:v2, cs2pr
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: Static analysis
run: vendor/bin/psalm --shepherd --stats --output-format=checkstyle --php-version=${{ matrix.php }} | cs2pr --graceful-warnings --colorize