Hotfix #17
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
# This file was generated from bswck/skeleton@61eeffb. | |
# Instead of changing this particular file, you might want to alter the template: | |
# https://github.com/bswck/skeleton/tree/61eeffb/project/.github/workflows/mypy.yml.jinja | |
name: "Mypy" | |
on: ["push"] | |
jobs: | |
typecheck: | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: "actions/checkout@v4" | |
- name: "Set up Python 3.10" | |
uses: "actions/setup-python@v5" | |
with: | |
python-version: "3.10" | |
- name: "Install the project" | |
run: | | |
pip install poetry | |
poetry install | |
- name: "Type-check with mypy" | |
run: > | |
poetry run mypy . --strict | |
|| (echo yes | poetry run mypy --install-types && poetry run mypy . --strict) |