File tree Expand file tree Collapse file tree 3 files changed +47
-17
lines changed Expand file tree Collapse file tree 3 files changed +47
-17
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ ---
2+
3+ name : ci
4+ ' on ' :
5+ pull_request :
6+ push :
7+ branches :
8+ - master
9+
10+ jobs :
11+
12+ yaml-lint :
13+ name : YAML Lint
14+ runs-on : ubuntu-latest
15+ steps :
16+
17+ - name : Fetch code
18+ uses : actions/checkout@v3
19+
20+ - name : Set up Python 3.
21+ uses : actions/setup-python@v2
22+ with :
23+ python-version : ' 3.x'
24+
25+ - name : Install test dependencies.
26+ run : pip3 install yamllint
27+
28+ - name : Lint code.
29+ run : |
30+ yamllint .
31+
32+ ansible-lint :
33+ name : Ansible Lint
34+ runs-on : ubuntu-latest
35+
36+ steps :
37+ - name : Fetch code
38+ uses : actions/checkout@v3
39+ with :
40+ fetch-depth : 0
41+
42+ - name : Run ansible-lint
43+ uses : ansible/ansible-lint-action@v6.15.0
Original file line number Diff line number Diff line change 1+ ---
2+
3+ collections :
4+ - community.general
You can’t perform that action at this time.
0 commit comments