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

23 lines
465 B
YAML
Raw Normal View History

2020-04-12 21:02:44 +02:00
name: PHPCS check
2020-06-06 22:40:00 +02:00
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
2020-04-12 21:02:44 +02:00
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'