From 3493115d21dbe55a85b69f81335a8bf260f6c159 Mon Sep 17 00:00:00 2001 From: Cian Hatton Date: Fri, 2 Sep 2022 16:35:21 +0100 Subject: [PATCH] adding CI for ansible linting --- .github/workflows/lint.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..4ef23c8 --- /dev/null +++ b/.github/workflows/lint.yml @@ -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