mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
There are warnings on Github workflows about the need to update actions 'checkout' and 'setup-python' due to the use of Node.js versions that are too old. This patch updates the use of actions/checkout from v2 to v3.1.0, and setup-python from v2 to v4.3.0.
67 lines
2.1 KiB
YAML
67 lines
2.1 KiB
YAML
---
|
|
name: Verify Ansible documentation.
|
|
on:
|
|
- push
|
|
- pull_request
|
|
jobs:
|
|
check_docs_29:
|
|
name: Check Ansible Documentation with Ansible 2.9.
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3.1.0
|
|
- uses: actions/setup-python@v4.3.0
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install Ansible 2.9
|
|
run: |
|
|
python -m pip install "ansible < 2.10"
|
|
- name: Run ansible-doc-test
|
|
run: |
|
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
|
|
|
check_docs_2_11:
|
|
name: Check Ansible Documentation with ansible-core 2.11.
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3.1.0
|
|
- uses: actions/setup-python@v4.3.0
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install Ansible 2.11
|
|
run: |
|
|
python -m pip install "ansible-core >=2.11,<2.12"
|
|
- name: Run ansible-doc-test
|
|
run: |
|
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
|
|
|
check_docs_2_12:
|
|
name: Check Ansible Documentation with ansible-core 2.12.
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3.1.0
|
|
- uses: actions/setup-python@v4.3.0
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install Ansible 2.12
|
|
run: |
|
|
python -m pip install "ansible-core >=2.12,<2.13"
|
|
- name: Run ansible-doc-test
|
|
run: |
|
|
python -m pip install "ansible-core >=2.12,<2.13"
|
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|
|
|
|
check_docs_latest:
|
|
name: Check Ansible Documentation with latest Ansible version.
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3.1.0
|
|
- uses: actions/setup-python@v4.3.0
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install Ansible-latest
|
|
run: |
|
|
python -m pip install ansible
|
|
- name: Run ansible-doc-test
|
|
run: |
|
|
ANSIBLE_LIBRARY="." ANSIBLE_DOC_FRAGMENT_PLUGINS="." python utils/ansible-doc-test -v roles plugins
|