fix: use official ansible lint action
Some checks failed
Lint / Lint (push) Failing after 8s

Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
This commit is contained in:
Louis Vallat 2025-01-08 11:43:55 +01:00
parent d5f7eb928c
commit b0d2ec0776
Signed by: louis
SSH Key Fingerprint: SHA256:0iPwDU/PZtEy/K13Oar4TzmcunmI9H5U9IsOR3jyT/Q

View File

@ -8,11 +8,14 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Activate venv & install dependencies
- name: Setup virtual environment
run: |
python3 -m venv venv
. venv/bin/activate
echo PATH=$PATH >> $GITHUB_ENV
pip install ansible ansible-lint
- name: Lint
run: ansible-lint --show-relpath
- name: Run ansible-lint
uses: ansible/ansible-lint@main
with:
args: "--show-relpath"
setup_python: "true"
requirements_file: ""