-
Notifications
You must be signed in to change notification settings - Fork 30
50 lines (43 loc) · 1.13 KB
/
linters.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
48
49
50
name: Linters
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run tests
run: docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest --ignore=minutes --disable=MD013 "**/*.md"
# - uses: avto-dev/markdown-lint@v1.5.0
# with:
# args: './*.md'
docker-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0
with:
recursive: true
ignore: DL3041
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: azohra/shell-linter@v0.6.0
YAMLlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: integration setup
config_data: "{extends: default, rules: {line-length: disable}}"
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4