Skip to content

Improve mypy gh action (#79) #108

Improve mypy gh action (#79)

Improve mypy gh action (#79) #108

Workflow file for this run

name: mypy
on: [push, pull_request]
jobs:
mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install mypy
run: |
python -m pip install --upgrade pip
pip install mypy
- name: Run mypy
uses: sasanquaneuf/mypy-github-action@releases/v1
with:
checkName: 'mypy' # NOTE: this needs to be the same as the job name