adding CI for ansible linting
parent
54a0e8f2cc
commit
3493115d21
@ -0,0 +1,18 @@
|
|||||||
|
name: Code Health
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout the codebase
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.8.9
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install -r requirements.txt
|
||||||
|
- name: Test Directory
|
||||||
|
run: ansible-lint roles
|
||||||
Loading…
Reference in New Issue