dnsbl (additional notes) #118
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |