Files
ansible_proxmox_WOL/.gitea/workflows/ansible-lint.yml
Jose 4b7e3bd74b
Some checks failed
ansible-lint / Ansible Lint (push) Failing after 10s
chore 📦: Add .ansible-lint config to exclude paths and enable rules
This commit adds a new `.ansible-lint` configuration file to specify which paths to exclude from linting and enables specific rules for better code quality.
2025-12-24 07:34:00 +01:00

29 lines
683 B
YAML

# .github/workflows/ansible-lint.yml
name: ansible-lint
on: [pull_request, issues, push]
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
github-server-url: ${{ vars.GIT_SERVER_URL }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.14"
- name: Install ansible-lint
run: |
python -m pip install --upgrade pip
pip install ansible ansible-lint
- name: Run ansible-lint
run: |
ansible-lint