Skip to content

Commit dc38541

Browse files
committed
Adds type check workflow
1 parent ac1845f commit dc38541

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

.github/workflows/type-check.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: type-check
2+
3+
on:
4+
workflow_call:
5+
workflow_dispatch:
6+
push:
7+
branches: ["main", "tester/*"]
8+
pull_request:
9+
branches: ["main"]
10+
11+
jobs:
12+
type-check:
13+
runs-on: ${{ matrix.os }}
14+
15+
strategy:
16+
matrix:
17+
name: [
18+
"ubuntu-python-3-10",
19+
"ubuntu-python-3-11",
20+
"ubuntu-python-3-12",
21+
"ubuntu-python-3-13"
22+
]
23+
24+
include:
25+
- name: "ubuntu-python-3-10"
26+
python-version: "3.10"
27+
os: ubuntu-latest
28+
- name: "ubuntu-python-3-11"
29+
python-version: "3.11"
30+
os: ubuntu-latest
31+
- name: "ubuntu-python-3-12"
32+
python-version: "3.12"
33+
os: ubuntu-latest
34+
- name: "ubuntu-python-3-13"
35+
python-version: "3.13"
36+
os: ubuntu-latest
37+
38+
steps:
39+
- uses: actions/checkout@v3
40+
- name: Set Up Python ${{ matrix.pytohn-version }}
41+
uses: actions/setup-python@v3
42+
with:
43+
python-version: ${{ matrix.python-version }}
44+
- name: Install uv
45+
run: make install-uv
46+
- name: Create virtual environment
47+
run: uv venv --python=python
48+
- name: Install local package
49+
run: make install-local-package
50+
- name: Install type-checker
51+
run: make install-linter
52+
- name: Type-check
53+
run: make type-check

0 commit comments

Comments
 (0)