From 1ef57c797ab9bdb683363fd434948d0a0aed5617 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 26 Jun 2024 08:21:44 -0600 Subject: [PATCH] ci: ansible-lint action now requires absolute directory the change made for https://github.com/ansible/ansible-lint/commit/b4018c22f8fe8371bd6845d0cd62cebea54ce012 means that ansible-lint now needs an absolute path for the working directory Go ahead and make ansible-test use absolute path too just in case they decide to make the same change. Signed-off-by: Rich Megginson --- .github/workflows/ansible-lint.yml | 2 +- .github/workflows/ansible-test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index ac13e1f..d0ee41b 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -46,4 +46,4 @@ jobs: - name: Run ansible-lint uses: ansible/ansible-lint@v24 with: - working_directory: .tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }} + working_directory: ${{ github.workspace }}/.tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }} diff --git a/.github/workflows/ansible-test.yml b/.github/workflows/ansible-test.yml index c2b2351..e170f5e 100644 --- a/.github/workflows/ansible-test.yml +++ b/.github/workflows/ansible-test.yml @@ -44,4 +44,4 @@ jobs: uses: ansible-community/ansible-test-gh-action@release/v1 with: testing-type: sanity # wokeignore:rule=sanity - collection-src-directory: .tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }} + collection-src-directory: ${{ github.workspace }}/.tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }}