diff --git a/.github/workflows/rst_lint.yml b/.github/workflows/rst_lint.yml new file mode 100644 index 000000000..95922c653 --- /dev/null +++ b/.github/workflows/rst_lint.yml @@ -0,0 +1,22 @@ +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.11' + cache: 'pip' + - name: Install Python Requirements + run: pip install doc8 + - name: Lint RST files + run: doc8 * diff --git a/pyproject.toml b/pyproject.toml index b3f0f617c..30a4ac5a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ docs = [ "sphinx", "renku-sphinx-theme", "sphinx-rtd-theme", + "doc8", ] test = [