Skip to content

Commit f10663a

Browse files
committed
ci: add ansible-lint
ref: #6
1 parent eb11625 commit f10663a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.gitea/workflows/pull_request.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,30 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515

16+
1617
- name: Enable Matcher Service
1718
run: |
1819
echo "NFC_PROBLEM_MATCHER=${GITHUB_REF_NAME}";
1920
21+
2022
- uses: actions/checkout@v3
2123

24+
2225
- name: Install YAMLLint
2326
run: pip install yamllint
2427

28+
2529
- name: Run YAMLLint
2630
run: |
2731
echo "NFC_PROBLEM_MATCHER_TYPE=YAML-Lint"
2832
yamllint -f github . || true
33+
34+
35+
- name: Install Ansible-Lint
36+
run: pip install ansible-lint
37+
38+
39+
- name: Run Ansible-Lint
40+
run: |
41+
echo "NFC_PROBLEM_MATCHER_TYPE=pylint-json";
42+
ansible-lint -f json . || true

0 commit comments

Comments
 (0)