Merge pull request #66 from shaunek-hero/bugfix/incorrect-status-name #63
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: Build | |
on: [push, pull_request] | |
jobs: | |
phpcs: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
php-version: [ 8.0, 8.1, 8.2 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Composer Dependencies | |
run: composer install --dev | |
- name: Change permissions for phpcs | |
run: chmod 755 build/vendor/bin/phpcs | |
- name: Run WordPress code standard | |
run: | | |
./build/vendor/bin/phpcs -v --ignore=vendor,build,wpcs,scoper.inc.php --standard=./phpcs.xml ./ |