Skip to content

Update/version

Update/version #117

Workflow file for this run

name: WordPress Coding Standards
on: pull_request
jobs:
phpcs:
name: Check Coding Standards
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: composer install --no-interaction --no-dev --no-progress
- name: WPCS check
uses: 10up/wpcs-action@stable
with:
standard: 'WordPress'
extra_args: '--report-json=./phpcs.json'
excludes: '.github/ tests/'
- name: Update summary
run: |
npx --yes github:10up/phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
cat phpcs.md >> $GITHUB_STEP_SUMMARY