Louis Vallat a03e2953aa
feat: upkeeping with CI and ansible lint
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2025-01-08 11:30:01 +01:00

19 lines
439 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: 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