Added a linting workflow

This commit is contained in:
Katrina Knight
2021-09-10 01:40:04 +01:00
committed by Basilius Sauter
parent c38647d3e5
commit 58757b4da7
2 changed files with 25 additions and 0 deletions
+16
View File
@@ -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
+9
View File
@@ -0,0 +1,9 @@
path: ./
jobs: 10
cache: build/phplint.cache
extensions:
- php
exclude:
- vendor
warning: false