moving to pdm from poetry and updating token stuff #4
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] | |
jobs: | |
type-checking: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Install python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.7 | |
- name: Install Poetry Action | |
uses: snok/install-poetry@v1.1.6 | |
- name: Install dependencies | |
run: | | |
poetry install | |
poetry -V | |
poetry run mypy -V | |
- name: Run the typechecking with mypy | |
run: | | |
poetry run task mypy |