Debian Codegraph @

.github/workflows/reusable-type.yml

raw
1 name: type
2 on:
3 workflow_call:
4
5 permissions: {}
6
7 jobs:
8 type:
9 name: Type check
10 runs-on: ubuntu-latest
11 env:
12 PY_COLORS: 1
13 TOX_PARALLEL_NO_SPINNER: 1
14 steps:
15 - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
16 with:
17 persist-credentials: false
18
19 - name: Setup Python 3.10
20 uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
21 with:
22 python-version: "3.10"
23
24 - name: Install tox
25 run: python -m pip install tox
26
27 - name: Setup run environment
28 run: tox -vv --notest -e type
29
30 - name: Run check for type
31 run: tox -e type --skip-pkg-install