Skip to content

Merge pull request #98 from jrchamp/release/v2.4.3 #15

Merge pull request #98 from jrchamp/release/v2.4.3

Merge pull request #98 from jrchamp/release/v2.4.3 #15

name: CI Full
on:
push:
# Allow manually triggering the workflow.
workflow_dispatch:
jobs:
phpcs:
name: PHP CodeSniffer
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none
tools: cs2pr
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
- name: Run PHPCS on all files
run: |
vendor/bin/phpcs -q -n --ignore=vendor --standard=WordPress --report=checkstyle $GITHUB_WORKSPACE | cs2pr