Files
git-events/.gitea/workflows/pull_request.yaml
Jon f10663a2d5
All checks were successful
Lint (Pull Request) / lint (pull_request) Successful in 43s
ci: add ansible-lint
ref: #6
2025-07-12 22:43:03 +09:30

43 lines
679 B
YAML

---
name: Lint (Pull Request)
on:
pull_request: {}
jobs:
lint:
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