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:
lint:
name: "Lint"
runs-on: python-bookworm
runs-on: debian-12
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Activate venv & install dependencies
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"
requirements_file: ""