chore(deps): update dependency ruff to ~=0.6.3 (#23) #76
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: Documentation | |
on: | |
push: | |
branches: | |
- "main" | |
- "feature/*" | |
- "hotfix/*" | |
- "release/*" | |
pull_request: | |
paths: | |
- "docs/**" | |
- "pyproject.toml" | |
- ".github/workflows/docs.yaml" | |
jobs: | |
sphinx: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install Tox | |
run: pip install tox | |
- name: Lint documentation | |
run: tox run --colored yes -e lint-docs | |
- name: Build documentation | |
run: tox run --colored yes -e build-docs | |
- name: Upload documentation | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs | |
path: docs/_build/ |