forked from HDInnovations/UNIT3D
-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (27 loc) · 790 Bytes
/
lint.yml
File metadata and controls
27 lines (27 loc) · 790 Bytes
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
name: PHP Lint (Pint)
on: [push, pull_request]
jobs:
phplint:
strategy:
matrix:
operating-system:
- ubuntu-22.04
name: ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run Pint
uses: aglipanci/laravel-pint-action@2.0.0
with:
preset: psr12
verboseMode: true
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: PHP Style Change (Laravel Pint CI)
commit_user_name: HDVinne
commit_user_email: hdinnovations@protonmail.com
commit_author: HDVinnie <hdinnovations@protonmail.com>