psalm-plugin-laravel/.github/workflows/lint.yml

19 lines
418 B
YAML
Raw Normal View History

2020-04-12 21:02:44 +02:00
name: PHPCS check
on: pull_request
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
2020-04-12 21:14:35 +02:00
- name: Install dependencies
run: export COMPOSER_ROOT_VERSION=dev-master && composer install --prefer-dist --no-progress --no-suggest
2020-04-12 21:02:44 +02:00
- name: PHPCS check
uses: chekalsky/phpcs-action@v1
2020-04-12 21:09:08 +02:00
with:
2020-04-12 21:28:39 +02:00
phpcs_bin_path: './vendor/bin/phpcs'