Split up index creation #86
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: Code format check | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.12 | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
- name: Install project | |
run: | | |
# We only need Black, and we want to use the project-specific version. | |
# (Defaults in Black change from time to time and we want only to deal with | |
# the consequences, if any, on our own schedule.) | |
poetry install --only dev | |
- name: Run check | |
run: poetry run black . --check |