Debian Codegraph @

.github/workflows/typecheck.yml

raw
1 name: Type Check
2
3 on: [push, pull_request]
4
5 permissions:
6 contents: read
7
8 jobs:
9 typecheck:
10 runs-on: ubuntu-24.04
11 timeout-minutes: 10
12 strategy:
13 matrix:
14 python-version: ["3.10", "3.14"]
15
16 steps:
17 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18 with:
19 persist-credentials: false
20
21 - name: Set up Python
22 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
23 with:
24 python-version: ${{ matrix.python-version }}
25
26 - name: Install dependencies
27 run: |
28 python -m pip install pip==26.0.1
29 python -m pip install -e . --group typecheck
30
31 - name: Run pyright
32 run: python -m pyright src/requests/