correct markdown class name to work with plugin #2
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: Strings | |
on: | |
push: | |
branches: [ development, master ] | |
paths: | |
- 'doc/**' | |
- 'src/pretix/locale/**' | |
pull_request: | |
branches: [ development, master ] | |
paths: | |
- 'doc/**' | |
- 'src/pretix/locale/**' | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
name: Check gettext syntax | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install system packages | |
run: sudo apt update && sudo apt install gettext | |
- name: Install Dependencies | |
run: pip3 install -e ".[dev]" | |
- name: Compile messages | |
run: python manage.py compilemessages | |
working-directory: ./src | |
- name: Compile jsi18n | |
run: python manage.py compilejsi18n | |
working-directory: ./src | |
spelling: | |
runs-on: ubuntu-latest | |
name: Spellcheck | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.11 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Install system packages | |
run: sudo apt update && sudo apt install enchant hunspell hunspell-de-de aspell-en aspell-de | |
- name: Install Dependencies | |
run: pip3 install -e ".[dev]" | |
- name: Spellcheck translations | |
run: potypo | |
working-directory: ./src |