Fix: enhanced event dashboard usability #1259
Workflow file for this run
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: [ development, master ] | |
paths-ignore: | |
- 'src/pretix/locale/**' | |
- 'src/pretix/static/**' | |
- 'src/tests/**' | |
pull_request: | |
branches: [ development, master ] | |
paths-ignore: | |
- 'src/pretix/locale/**' | |
- 'src/pretix/static/**' | |
- 'src/tests/**' | |
jobs: | |
spelling: | |
name: Spellcheck | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repository | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install system packages | |
run: sudo apt-get update && sudo apt-get install enchant-2 hunspell aspell-en gettext | |
- name: Install uv | |
uses: astral-sh/setup-uv@v5 | |
with: | |
enable-cache: true | |
- name: Install Dependencies | |
run: uv sync --only-group doc | |
- name: Spellcheck docs | |
run: | | |
source ${GITHUB_WORKSPACE}/.venv/bin/activate | |
make spelling | |
working-directory: ./doc | |
- name: Check no errors | |
run: '[ ! -s _build/spelling/output.txt ]' | |
working-directory: ./doc |