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

28 lines
573 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
2021-06-10 02:26:39 +02:00
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
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'