Merge pull request #259 from paulrobertlloyd/plugin-assets #71
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_CodeSniffer | |
on: push | |
jobs: | |
phpcs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
coverage: none | |
tools: composer, cs2pr | |
- name: Install Composer dependencies for PHP | |
uses: "ramsey/composer-install@v2" | |
- name: Detect coding standard violations | |
run: composer lint | |