-
Notifications
You must be signed in to change notification settings - Fork 3
59 lines (44 loc) · 1.14 KB
/
linters.yaml
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
48
49
50
51
52
53
54
55
56
57
58
59
---
name: Linters
on: # yamllint disable-line rule:truthy
pull_request:
push:
branches:
- master
jobs:
markdownlint:
name: Markdownlint
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Run markdownlint
uses: containerbuildsystem/actions/markdownlint@master
dockerfile-lint:
name: Dockerfile lint
runs-on: ubuntu-latest
container:
image: hadolint/hadolint:latest-debian
steps:
- name: Check out repo
uses: actions/checkout@v1
- name: Lint Dockerfiles with hadolint
run: hadolint --ignore DL3013 --ignore DL3041 **/Dockerfile
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Run ShellCheck
uses: containerbuildsystem/actions/shellcheck@master
with:
path: '.'
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: Run yamllint
uses: containerbuildsystem/actions/yamllint@master