Skip to content

Commit 58757b4

Browse files
GaeaKatVassyli
authored andcommitted
Added a linting workflow
1 parent c38647d commit 58757b4

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.github/workflows/linting.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Documentation
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
check_linter:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: CheckLint
13+
uses: overtrue/[email protected]
14+
with:
15+
path: .
16+
options: --exclude=*.log

.phplint.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
path: ./
2+
jobs: 10
3+
cache: build/phplint.cache
4+
extensions:
5+
- php
6+
exclude:
7+
- vendor
8+
warning: false
9+

0 commit comments

Comments
 (0)