Commit da16f97 1 parent da710ff commit da16f97 Copy full SHA for da16f97
File tree 6 files changed +86
-422
lines changed
6 files changed +86
-422
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Ansible Lint
3
+
4
+ on :
5
+ push :
6
+
7
+ jobs :
8
+
9
+ ansible-lint :
10
+ name : Ansible Lint
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Check out the codebase
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Set up Python.
18
+ uses : actions/setup-python@v4
19
+ with :
20
+ python-version : ' 3.x'
21
+
22
+ - name : Install ansible-lint
23
+ run : pip3 install ansible-lint ansible
24
+
25
+ - name : Version check
26
+ run : |
27
+ ansible --version
28
+ ansible-lint --version
29
+
30
+ - name : Run ansible-lint
31
+ run : ansible-lint
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Vale Lint
3
+
4
+ on :
5
+ push :
6
+
7
+ jobs :
8
+
9
+ vale-lint :
10
+ name : Vale Lint
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Check out the codebase
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Install vale
18
+ run : snap install vale
19
+
20
+ - name : Version check
21
+ run : |
22
+ vale --version
23
+
24
+ - name : Run yamllint
25
+ run : vale --glob='*.md' ./docs ./README.md
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : YAML Lint
3
+
4
+ on :
5
+ push :
6
+
7
+ jobs :
8
+
9
+ yaml-lint :
10
+ name : YAML Lint
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Check out the codebase
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Set up Python.
18
+ uses : actions/setup-python@v4
19
+ with :
20
+ python-version : ' 3.x'
21
+
22
+ - name : Install yamllint
23
+ run : pip3 install yamllint
24
+
25
+ - name : Version check
26
+ run : |
27
+ yamllint --version
28
+
29
+ - name : Run yamllint
30
+ run : yamllint .
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments