Louis Vallat
68d787e9ac
All checks were successful
Lint / Lint (push) Successful in 26s
Signed-off-by: Louis Vallat <contact@louis-vallat.dev>
19 lines
441 B
YAML
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 .
|