⛩️ Mypy path and build instruction update. #109
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: Type Checking | |
on: [push] | |
jobs: | |
type-check: | |
name: 👨⚕️ Type Checking | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔔 Check out | |
uses: actions/checkout@v3 | |
- name: 🏗️ python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: ⬇️ Python Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: 1.8.4 | |
installer-parallel: true | |
- name: ⬇️ Python Dependencies | |
run: poetry install --sync | |
- name: 📦 Install type stubs | |
run: poetry run mypy . --install-types --non-interactive | |
- name: 🏃 mypy | |
run: poetry run mypy . |