Skip to content

Commit ec32e87

Browse files
committed
ci: ansible-lint action now requires absolute directory
the change made for ansible/ansible-lint@b4018c2 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 <[email protected]>
1 parent 96eacb6 commit ec32e87

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
- name: Run ansible-lint
4747
uses: ansible/ansible-lint@v24
4848
with:
49-
working_directory: .tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }}
49+
working_directory: ${{ github.workspace }}/.tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }}

.github/workflows/ansible-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
uses: ansible-community/ansible-test-gh-action@release/v1
4545
with:
4646
testing-type: sanity # wokeignore:rule=sanity
47-
collection-src-directory: .tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }}
47+
collection-src-directory: ${{ github.workspace }}/.tox/ansible_collections/${{ env.LSR_ROLE2COLL_NAMESPACE }}/${{ env.LSR_ROLE2COLL_NAME }}

0 commit comments

Comments
 (0)