ansible/.gitea/workflows/lint.yml
Louis Vallat 68d787e9ac
All checks were successful
Lint / Lint (push) Successful in 26s
feat: moved to gitea workflows for CI/CD
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
2024-09-08 11:47:27 +02:00

19 lines
441 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 .