Skip to content

Update README.md

Update README.md #2

Workflow file for this run

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