File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI (lean)
2
+
3
+ on :
4
+ push :
5
+ branches : [ main ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v4
14
+
15
+ - name : Set up Python
16
+ uses : actions/setup-python@v5
17
+ with :
18
+ python-version : ' 3.11'
19
+
20
+ - name : Install uv
21
+ run : |
22
+ pip install uv
23
+
24
+ - name : Sync deps (frozen if lock exists)
25
+ run : |
26
+ if [ -f uv.lock ]; then
27
+ uv sync --frozen
28
+ else
29
+ uv sync || true
30
+ fi
31
+
32
+ - name : Install dev tools
33
+ run : |
34
+ uv pip install ruff mypy bandit || pip install ruff mypy bandit
35
+
36
+ - name : Lint (ruff)
37
+ run : ruff check .
38
+
39
+ - name : Type-check (mypy, lenient)
40
+ run : mypy --ignore-missing-imports . || true
41
+
42
+ - name : Smoke test
43
+ run : make test
You can’t perform that action at this time.
0 commit comments