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 .
|