Skip to content

[CI] adjusted Rector config as a separate job #2

[CI] adjusted Rector config as a separate job

[CI] adjusted Rector config as a separate job #2

Workflow file for this run

name: Rector PHP
on:
push:
branches:
- main
- '[0-9]+.[0-9]+'
pull_request: ~
jobs:
rector:
name: Run rector
runs-on: "ubuntu-22.04"
strategy:
matrix:
php:
- '8.3'
steps:
- uses: actions/checkout@v5
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
extensions: 'pdo_sqlite, gd'
tools: cs2pr
- uses: ramsey/composer-install@v3
with:
dependency-versions: highest
- name: Run rector
run: vendor/bin/rector process --dry-run --ansi