Merge pull request #78 from florianbrinkmann/dependabot/npm_and_yarn/… #186
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: Run things when a new commit is pushed | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Run PHPCS check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
tools: composer | |
- name: Install dependencies | |
run: | | |
composer install | |
- name: Run PHPCS | |
run: | | |
vendor/bin/phpcs -p src/ vendor/masterminds/ --standard=PHPCompatibility --runtime-set testVersion 7.0 |