ci: add linter workflow

This commit is contained in:
rlespinasse
2020-11-01 21:15:10 +01:00
committed by Romain Lespinasse
parent afcda09378
commit 2aba10a826
2 changed files with 25 additions and 1 deletions

22
.github/workflows/linter.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Lint
on: [pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter@v3
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: v3.x
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_INCLUDE: .*src/.*