aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mypy.yaml
blob: b0d0cdff1b7fce8c4b0e1c520978a04dc37937f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: mypy

on:
  push:
    branches:
      - main
  pull_request:
    types:
      - opened
      - synchronize

defaults:
  run:
    shell: bash

jobs:
  ci:
    runs-on: ubuntu-20.04
    steps:
      # Checkout the code
      - uses: actions/checkout@v2
      - uses: jpetrucciani/mypy-check@master
        with:
          requirements: 1.6.0
          python_version: 3.8
          path: 'python/runfiles'
      - uses: jpetrucciani/mypy-check@master
        with:
          requirements: 1.6.0
          python_version: 3.8
          path: 'tests/runfiles'