Bump the npm_and_yarn group across 1 directory with 2 updates #52
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: Linting | |
on: pull_request | |
jobs: | |
phpcs: | |
name: PHP CS | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Check installed cs rules | |
run: vendor/bin/phpcs -i | |
- name: CS Check | |
run: ./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit true --standard=phpcs.xml ./ |