Louis Vallat c906271429
Some checks failed
Lint / Lint (push) Failing after 44s
fix: use official ansible lint action
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2025-01-08 11:51:24 +01:00

21 lines
506 B
YAML

name: "Lint"
on: push
jobs:
lint:
name: "Lint"
runs-on: python-bookworm
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup virtual environment
run: |
python3 -m venv venv
. venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
- name: Run ansible-lint
uses: ansible/ansible-lint@main
with:
args: "--show-relpath"
setup_python: "false"
requirements_file: ""