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

23 lines
493 B
YAML
Raw Normal View History

2022-01-19 10:04:30 +01:00
name: PHP CS check
2020-04-12 21:02:44 +02:00
2022-01-19 23:46:53 +01:00
on: [push, pull_request]
2020-04-12 21:02:44 +02:00
jobs:
phpcs:
2022-01-19 10:04:30 +01:00
name: PHP CS
2020-04-12 21:02:44 +02:00
runs-on: ubuntu-latest
steps:
- name: Checkout code
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:
2021-12-17 15:37:11 +01:00
php-version: '8.0'
2021-06-10 02:26:39 +02:00
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
2022-01-19 10:04:30 +01:00
- name: PHP CS check
run: 'composer lint'