From 6b2f9d008205e156a372a56a7409755fe53230d5 Mon Sep 17 00:00:00 2001 From: Benjamin Hays Date: Mon, 7 Oct 2024 19:14:00 -0400 Subject: [PATCH] Refactor Ansible-Lint Action --- .gitea/workflows/ansible-lint.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ansible-lint.yml b/.gitea/workflows/ansible-lint.yml index 9050fcd..1221d9c 100644 --- a/.gitea/workflows/ansible-lint.yml +++ b/.gitea/workflows/ansible-lint.yml @@ -1,10 +1,17 @@ -name: ansible-lint +# .gitea/workflows/ansible-lint.yaml +name: Ansible Lint on: [push] jobs: build: - name: Ansible Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Run ansible-lint - uses: ansible/ansible-lint@main + - name: Install Ansible-Lint + run: | + sudo apt install -y ansible-lint + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + - name: Build with Hugo + run: | + ansible-lint . \ No newline at end of file