-
-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (27 loc) · 926 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: lint
on: push
jobs:
tests:
name: lint
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php:
- "8.1"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
- name: Install Composer dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Check coding styles
run: composer run-script lpv:cs-lint
- name: Check leanness of package
uses: raphaelstolt/[email protected]
with:
php-version: "${{ matrix.php }}"
lpv-version: "3.0.0"