Skip to content

Commit 20615d7

Browse files
committed
CI: separate lint + mypy step; run mypy with all supported Python versions
1 parent 3479155 commit 20615d7

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/lint.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,23 @@ jobs:
2828
uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
2929
- name: Lint
3030
run: uvx --with tox-uv tox -e lint
31+
mypy:
32+
runs-on: ubuntu-latest
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
python-version: [
37+
"3.14",
38+
"3.13",
39+
"3.12",
40+
"3.11",
41+
]
42+
name: Mypy
43+
steps:
44+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
45+
with:
46+
persist-credentials: false
47+
- name: Install uv
48+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
3149
- name: Mypy
32-
run: uvx --with tox-uv tox -e mypy
50+
run: uvx --python=${{ matrix.python-version }} --with tox-uv tox -e mypy

0 commit comments

Comments
 (0)