Merge pull request #10 from TitaniumHocker/dependabot/pip/urllib3-1.2… #21
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: mypy | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.11" | |
- name: Install poetry | |
run: | | |
python3.11 -m pip install poetry | |
- name: Install dependencies | |
run: | | |
poetry install --no-interaction | |
- name: Check types with mypy | |
run: poetry run mypy |