Louis Vallat 5417a1568b
Some checks failed
Lint / Lint (push) Failing after 20s
feat: added virtual env to excluding list in ansible lint
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2025-01-08 11:55:59 +01:00

22 lines
507 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: ""