Skip to content

fix(locks): support generation before WordPress bootstrap #468

fix(locks): support generation before WordPress bootstrap

fix(locks): support generation before WordPress bootstrap #468

Workflow file for this run

name: Code Style Check
on:
push:
workflow_dispatch:
concurrency:
group: csc-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
codestyle:
name: Run code style check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out source code
uses: actions/checkout@v6.0.3
- name: Set up PHP
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
with:
php-version: 8.3
- name: Install PHP Dependencies
uses: ramsey/composer-install@3cf229dc2919194e9e36783941438d17239e8520 # 3.1.1
- name: Add error matcher
run: echo "::add-matcher::$(pwd)/.github/checkstyle-problem-matcher.json"
- name: Run style check
run: vendor/bin/phpcs --report=checkstyle