-
Notifications
You must be signed in to change notification settings - Fork 7
47 lines (45 loc) · 1020 Bytes
/
lint.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
38
39
40
41
42
43
44
45
46
47
# yamllint disable rule:line-length
---
name: Lint
on:
pull_request:
paths:
- '**/*.md'
- '**/*.sh'
- '**/*.y?ml'
- 'Dockerfile'
push:
paths:
- '**/*.md'
- '**/*.sh'
- '**/*.y?ml'
- 'Dockerfile'
jobs:
Markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: markdownlint-cli
uses: nosborn/[email protected]
with:
files: .
config_file: ".markdownlint.yml"
ShellCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Shell Check
uses: luizm/action-sh-checker@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
sh_checker_comment: true
sh_checker_shfmt_disable: true
YAML:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: YAML check (yamllint)
uses: ibiqlik/action-yamllint@master
with:
strict: true