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

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 0b69a936d5
Signed by: louis
SSH Key Fingerprint: SHA256:0iPwDU/PZtEy/K13Oar4TzmcunmI9H5U9IsOR3jyT/Q

View File

@ -4,15 +4,12 @@ on: push
jobs: jobs:
lint: lint:
name: "Lint" name: "Lint"
runs-on: python-bookworm runs-on: debian-12
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Activate venv & install dependencies - name: Run ansible-lint
run: | uses: ansible/ansible-lint@main
python3 -m venv venv with:
. venv/bin/activate args: "--show-relpath"
echo PATH=$PATH >> $GITHUB_ENV requirements_file: ""
pip install ansible ansible-lint
- name: Lint
run: ansible-lint --show-relpath