Skip to content

Commit

Permalink
Merge pull request #741 from ftnext/action-rstcheck
Browse files Browse the repository at this point in the history
Migrate rstcheck from TravisCI
  • Loading branch information
ftnext authored Mar 31, 2024
2 parents 297b939 + c81cf8e commit 8bc8e2c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rstcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Ensure RST is well-formed

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
rstcheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install rstcheck
- name: Run rstcheck
run: |
python -m rstcheck README.rst reference/*.rst

0 comments on commit 8bc8e2c

Please sign in to comment.