File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ruff
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ format :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v3
17+ # with:
18+ # enable-cache: true
19+
20+ - name : Setup Python
21+ run : uv python install
22+
23+ - name : Install dependencies
24+ run : |
25+ uv pip install ruff
26+ uv pip install -e ".[dev]"
27+
28+ - name : Run ruff format check
29+ run : uv run ruff check .
Original file line number Diff line number Diff line change 1+ name : typecheck
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ typecheck :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v4
14+
15+ - name : Install uv
16+ uses : astral-sh/setup-uv@v3
17+ with :
18+ enable-cache : true
19+
20+ - name : Setup Python
21+ run : uv python install
22+
23+ - name : Install dependencies
24+ run : |
25+ uv pip install pyright
26+ uv pip install -e ".[dev]"
27+
28+ - name : Run pyright
29+ run : uv run pyright
You can’t perform that action at this time.
0 commit comments