Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/rst_lint.yml

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this could actually be even more minimal, avoiding cloning CatalogBuilder-

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 doc8
        run: pip install doc8
        
      - name: Lint RST files
        working-directory: ./fre-cli
        run: doc8 *

Original file line number Diff line number Diff line change
@@ -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 *
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ docs = [
"sphinx",
"renku-sphinx-theme",
"sphinx-rtd-theme",
"doc8",
]

test = [
Expand Down
Loading