Skip to content

Bump rstcheck from 6.1.2 to 6.2.0 #876

Bump rstcheck from 6.1.2 to 6.2.0

Bump rstcheck from 6.1.2 to 6.2.0 #876

name: Validate documentation
on:
push:
paths:
- ".github/**"
- "docs/**"
- "requirements/development.txt"
jobs:
rst-lint:
name: Lint ReStructuredText documentation
runs-on: ubuntu-latest
container: python:3.9-bullseye
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Virtualenv caching
uses: actions/[email protected]
with:
path: ~/venv/current
key: ${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}
restore-keys: |
${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-${{ hashFiles('**/requirements/production.txt') }}
${{ runner.os }}-python3.9-venv-v1-${{ hashFiles('**/requirements/development.txt') }}-
${{ runner.os }}-python3.9-venv-v1-
- name: Install Python dependencies
uses: mobolic/[email protected]
with:
virtualenv-location: "~/venv/current"
- name: Run rstcheck
run: ~/venv/current/bin/rstcheck --report-level warning docs/source/*.rst