Updated the way that the legacy Custom JS plugin JS is used as a defa… #11
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: PHP Lint | |
on: [push] | |
jobs: | |
PHPCS: | |
name: PHPCS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: | | |
composer install --dev --prefer-dist --no-progress --no-suggest --no-scripts | |
composer require --dev staabm/annotate-pull-request-from-checkstyle --no-scripts | |
- name: Run phpcs | |
run: ./vendor/bin/phpcs -q --report=checkstyle | ./vendor/bin/cs2pr --graceful-warnings |