Feature/implement mypy type checking #1
Workflow file for this run
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: Run mypy | |
on: | |
pull_request: | |
push: | |
branches: ["main", "v[0-9]*"] | |
tags: ["v[0-9]*"] | |
workflow_dispatch: | |
jobs: | |
mypy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: apt update | |
run: sudo apt update | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Install Python dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
pip install -r requirements-dev.txt | |
- name: MyPy | |
run: mypy . |