Update pre-commit (#13) #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Linting Collection Documentation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
documentation-linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Install required packages | |
run: pip install -Iv ansible-core antsibull-docs | |
- uses: actions/checkout@v4 | |
- name: Lint documentation | |
run: antsibull-docs lint-collection-docs --plugin-docs . | |
... |