-
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (40 loc) · 1 KB
/
code-checks.yaml
File metadata and controls
55 lines (40 loc) · 1 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Code quality checks
permissions:
contents: read
on:
push:
branches:
- main
pull_request:
jobs:
quality-checks:
name: Quality checks
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]
steps:
- name: Checkout Code
uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "latest"
- name: Install Dependencies
run: |
echo ${{ matrix.python-version }} > .python-version
make setup
- name: Check for typos
run: make spellcheck
- name: Check the code style
run: make codestyle
- name: Lint the code
run: make lint
- name: Type check the code
run: make stricttypecheck
### code-checks.yaml ends here