• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1on:
2  pull_request:
3    branches:
4      - main
5name: mypy
6jobs:
7  mypy:
8    runs-on: ubuntu-latest
9    steps:
10    - name: Checkout
11      uses: actions/checkout@v4
12    - name: Setup Python
13      uses: actions/setup-python@v5
14      with:
15        python-version: "3.10"
16    - name: Install nox
17      run: |
18        python -m pip install --upgrade setuptools pip wheel
19        python -m pip install nox
20    - name: Run mypy
21      run: |
22        nox -s mypy
23