improvement: hand-roll content-type header parsing #240
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
# https://medium.com/@doedotdev/mypy-for-github-action-7da1ebee99e7 | |
name: Mypy | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Mypy | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install Dependencies | |
run: | | |
pip install poetry && poetry install | |
- name: mypy | |
run: | | |
poetry run python3 -m mypy --python-version 3.10 --strict sansio_lsp_client | |
poetry run python3 -m mypy --python-version 3.11 --strict sansio_lsp_client |