Skip to content

Commit 89c6028

Browse files
committed
php-laravel: lint
1 parent 8522e08 commit 89c6028

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Laravel Pint
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [master, main]
7+
paths: ['web/documentserver-example/php-laravel/**']
8+
pull_request:
9+
branches: [master, main, develop]
10+
paths: ['web/documentserver-example/php-laravel/**']
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
fail-fast: true
17+
matrix:
18+
php: [8.2]
19+
defaults:
20+
run:
21+
working-directory: ./web/documentserver-example/php-laravel
22+
steps:
23+
- name: Checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Setup PHP
27+
uses: shivammathur/setup-php@v2
28+
with:
29+
php-version: ${{ matrix.php }}
30+
extensions: json, dom, curl, libxml, mbstring
31+
coverage: none
32+
33+
- name: Install Pint
34+
run: composer global require laravel/pint
35+
36+
- name: Run Pint
37+
run: pint --test

0 commit comments

Comments
 (0)