-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 944 Bytes
/
linting.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
name: Linting
on: # yamllint disable-line rule:truthy
push:
branches:
- "main"
paths-ignore:
- README.md
- docs/*.md
pull_request:
branches:
- "main"
paths-ignore:
- README.md
- docs/*.md
jobs:
lint-yaml:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Validate YAML
uses: ibiqlik/action-yamllint@v3
lint-bash:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Run shellcheck
uses: ludeeus/action-shellcheck@master
with:
version: v0.8.0
severity: warning
lint-container:
runs-on: ubuntu-latest
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Run hadolint
uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: container/Containerfile