From af30687360c1c865cad877478b21b753b095d91d Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Fri, 22 Nov 2024 10:38:55 +0100 Subject: [PATCH] fix(ci): avoid usage of deprecated ansible-lint action. Signed-off-by: Federico Di Pierro --- .github/workflows/ansible-lint.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index a2d9cc6..adf010b 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -8,11 +8,12 @@ jobs: name: Ansible Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - name: Run ansible-lint - uses: ansible/ansible-lint-action@v6.3.0 # the latest version has a bug that does not run in online mode + uses: ansible/ansible-lint@44be233dbd6a8a6d8f3c5297c318ed4ed4644c32 # v24.10.0 with: - path: "ansible-playbooks/" + working_directory: "{{ github.workspace }}/ansible-playbooks" + requirements_file: "{{ github.workspace }}/requirements.yml"