response to Hera ticket #766
Workflow file for this run
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: reStructuredText Lint | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
jobs: | |
run_lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v4 | |
- name: Prepare Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- name: Install Python Requirements | |
run: | | |
pip install -r requirements.txt | |
pip install doc8 | |
- name: Lint RST files | |
run: doc8 source |