2024-09-08 11:47:27 +02:00
|
|
|
name: "Lint"
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
name: "Lint"
|
|
|
|
runs-on: python-bookworm
|
|
|
|
steps:
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v4
|
2025-01-08 11:43:55 +01:00
|
|
|
- name: Setup virtual environment
|
2024-09-08 11:47:27 +02:00
|
|
|
run: |
|
|
|
|
python3 -m venv venv
|
|
|
|
. venv/bin/activate
|
|
|
|
echo PATH=$PATH >> $GITHUB_ENV
|
2025-01-08 11:43:55 +01:00
|
|
|
- name: Run ansible-lint
|
|
|
|
uses: ansible/ansible-lint@main
|
|
|
|
with:
|
|
|
|
args: "--show-relpath"
|
|
|
|
setup_python: "false"
|