ci: add ansible-lint
All checks were successful
Lint (Pull Request) / lint (pull_request) Successful in 43s
All checks were successful
Lint (Pull Request) / lint (pull_request) Successful in 43s
ref: #6
This commit is contained in:
@ -13,16 +13,30 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
|
||||
- name: Enable Matcher Service
|
||||
run: |
|
||||
echo "NFC_PROBLEM_MATCHER=${GITHUB_REF_NAME}";
|
||||
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
||||
- name: Install YAMLLint
|
||||
run: pip install yamllint
|
||||
|
||||
|
||||
- name: Run YAMLLint
|
||||
run: |
|
||||
echo "NFC_PROBLEM_MATCHER_TYPE=YAML-Lint"
|
||||
yamllint -f github . || true
|
||||
|
||||
|
||||
- name: Install Ansible-Lint
|
||||
run: pip install ansible-lint
|
||||
|
||||
|
||||
- name: Run Ansible-Lint
|
||||
run: |
|
||||
echo "NFC_PROBLEM_MATCHER_TYPE=pylint-json";
|
||||
ansible-lint -f json . || true
|
||||
|
Reference in New Issue
Block a user