Skip to content

Merge pull request #126 from brainstormforce/wp-6-5-comp #129

Merge pull request #126 from brainstormforce/wp-6-5-comp

Merge pull request #126 from brainstormforce/wp-6-5-comp #129

Workflow file for this run

name: PHPCS check
on: pull_request
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:

Check failure on line 9 in .github/workflows/phpcs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/phpcs.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
coverage: none
tools: composer, cs2pr
- name: Composer Install
uses: ramsey/composer-install@v1
- name: Run phpcs
id: phpcs
if: always()
run: ./vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml
- name: Show PHPCS results in PR
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
run: cs2pr ./phpcs-report.xml