ep13b: Add cython back as a dev dependency for LSP #57
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: Episode 13 - Language server checks | |
on: push | |
jobs: | |
check_lsp: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: episode-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- uses: abatilo/actions-poetry@v2 | |
- name: Install dependencies and build Cython extension | |
run: poetry install --no-root | |
- name: Rebuild the project | |
run: poetry build | |
- name: Cache venv created by poetry (configured to be in '.venv') | |
uses: actions/cache@v3 | |
with: | |
path: ./.venv | |
key: venv-${{ runner.os }}-${{ hashFiles('poetry.lock') }} | |
- name: Run pyright | |
run: poetry run pyright |