Skip to content

Commit

Permalink
Improve docs linting workflow. (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored Oct 23, 2024
1 parent ddf8284 commit d6e10df
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/extra-docs-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,17 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.10'
python-version: '3.13'

- name: Install antsibull-docs
run: pip install antsibull-docs --disable-pip-version-check
- name: Install ansible-core and antsibull-docs
run: pip install ansible-core antsibull-docs --disable-pip-version-check

# OPTIONAL If your collection depends on other collections, make sure to install them here
# - name: Install dependent collections
# run: >
# ansible-galaxy collection install
# ansible.netcommon
# ansible.utils

- name: Run collection docs linter
run: antsibull-docs lint-collection-docs . --plugin-docs --skip-rstcheck

0 comments on commit d6e10df

Please sign in to comment.