We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7cd66ef commit 624352cCopy full SHA for 624352c
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,35 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ paths:
6
+ - "**.py"
7
+ - pyproject.toml
8
+ - uv.lock
9
+ - .github/workflows/ci.yml
10
11
+jobs:
12
+ lint_and_typecheck:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: checkout
17
+ uses: actions/checkout@v4
18
19
+ - name: install uv
20
+ uses: astral-sh/setup-uv@v6
21
+ with:
22
+ enable-cache: true
23
+ cache-dependency-glob: "uv.lock"
24
25
+ - name: uv sync
26
+ run: uv sync --frozen --all-extras --dev
27
28
+ - name: format
29
+ run: uv run ruff format --check
30
31
+ - name: lint
32
+ run: uv run ruff check
33
34
+ - name: typecheck
35
+ run: uv run pyright
0 commit comments