-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (32 loc) · 854 Bytes
/
linting.yml
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
28
29
30
31
32
33
34
35
36
37
---
name: Linting jobs
on:
- push
- pull_request
jobs:
lint-json:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: "docker://pipelinecomponents/jsonlint:latest"
with:
args: "find . -not -path './.git/*' -name '*.json' -type f"
lint-php:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: pipeline-components/php-linter@master
lint-markdown:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: pipeline-components/remark-lint@master
with:
options: --rc-path=build/.remarkrc --ignore-pattern='*/vendor/*'
lint-yaml:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: pipeline-components/yamllint@master
with:
options: --config-file=build/.yamllint