Added a linting workflow
This commit is contained in:
committed by
Basilius Sauter
parent
c38647d3e5
commit
58757b4da7
@@ -0,0 +1,16 @@
|
||||
name: Documentation
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
check_linter:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: CheckLint
|
||||
uses: overtrue/phplint@8.0
|
||||
with:
|
||||
path: .
|
||||
options: --exclude=*.log
|
||||
@@ -0,0 +1,9 @@
|
||||
path: ./
|
||||
jobs: 10
|
||||
cache: build/phplint.cache
|
||||
extensions:
|
||||
- php
|
||||
exclude:
|
||||
- vendor
|
||||
warning: false
|
||||
|
||||
Reference in New Issue
Block a user