From 95d935f1857c8e92f02ee13770f6556a78b56670 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Fri, 7 Nov 2025 10:42:02 -0300 Subject: [PATCH] ansible-docs: Update versions for ansible-doc-test checks Older versions of ansible-doc-test are failing due to code errors in the parsing module. This is fixed by using newer versions. Signed-off-by: Rafael Guterres Jeffman --- .github/workflows/docs.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f509046c..932c5f27 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,7 +5,7 @@ on: - pull_request jobs: check_docs_oldest_supported: - name: Check Ansible Documentation with ansible-core 2.13. + name: Check Ansible Documentation with ansible-core 2.16. runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.1.1 @@ -14,15 +14,15 @@ jobs: - uses: actions/setup-python@v5.1.0 with: python-version: '3.x' - - name: Install Ansible 2.13 + - name: Install Ansible 2.16 run: | - python -m pip install "ansible-core >=2.13,<2.14" + python -m pip install "ansible-core >=2.16,<2.17" - name: Run ansible-doc-test run: | ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins check_docs_previous: - name: Check Ansible Documentation with ansible-core 2.14. + name: Check Ansible Documentation with ansible-core 2.18. runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.1.1 @@ -31,15 +31,15 @@ jobs: - uses: actions/setup-python@v5.1.0 with: python-version: '3.x' - - name: Install Ansible 2.14 + - name: Install Ansible 2.18 run: | - python -m pip install "ansible-core >=2.14,<2.15" + python -m pip install "ansible-core >=2.18,<2.19" - name: Run ansible-doc-test run: | ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins check_docs_current: - name: Check Ansible Documentation with ansible-core 2.15. + name: Check Ansible Documentation with ansible-core 2.19. runs-on: ubuntu-latest steps: - uses: actions/checkout@v4.1.1 @@ -48,9 +48,9 @@ jobs: - uses: actions/setup-python@v5.1.0 with: python-version: '3.x' - - name: Install Ansible 2.15 + - name: Install Ansible 2.20 run: | - python -m pip install "ansible-core >=2.15,<2.16" + python -m pip install "ansible-core <2.20" - name: Run ansible-doc-test run: | ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins