Skip to content

refactor(db): Update backup script to central config reads; exclude p… #147

refactor(db): Update backup script to central config reads; exclude p…

refactor(db): Update backup script to central config reads; exclude p… #147

Workflow file for this run

name: Rector PHP Analysis
on:
push:
branches:
- master
- rel-*
pull_request:
branches:
- master
- rel-*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' && github.event.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
rector:
name: Rector PHP Analysis
runs-on: ubuntu-latest
strategy:
matrix:
# Single-element matrix provides named variable and job title
php-version: ['8.4']
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP and Composer
uses: ./.github/actions/setup-php-composer
with:
php-version: ${{ matrix.php-version }}
- name: Rector Cache
uses: actions/cache@v5
with:
path: /tmp/rector
key: ${{ runner.os }}-rector-${{ hashFiles('rector.php', 'composer.lock') }}-${{ github.run_id }}
restore-keys: ${{ runner.os }}-rector-${{ hashFiles('rector.php', 'composer.lock') }}-
- name: Create Rector cache directory
run: mkdir -p /tmp/rector
- name: Rector List Rules
run: vendor/bin/rector list-rules
- name: Rector Dry Run
run: vendor/bin/rector process --dry-run