File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " uv"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+
8+ - package-ecosystem : " github-actions"
9+ directory : " /"
10+ schedule :
11+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main, develop]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ python :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v5
14+ - name : " Set up Python"
15+ uses : actions/setup-python@v6
16+ with :
17+ python-version-file : " pyproject.toml"
18+ - name : Install uv
19+ uses : astral-sh/setup-uv@v6
20+ with :
21+ enable-cache : true
22+ - name : Sync dependencies
23+ run : uv sync --all-packages --all-groups
24+ - name : Run tests
25+ run : uv run pytest
26+ - name : Run linter
27+ run : uv run ruff check .
28+ - name : Run mypy
29+ run : uv run mypy .
30+ - name : Run basedpyright
31+ run : uv run basedpyright .
Original file line number Diff line number Diff line change 1+ name : " Publish"
2+
3+ on :
4+ push :
5+ tags :
6+ - v*
7+
8+ jobs :
9+ run :
10+ runs-on : ubuntu-latest
11+ environment :
12+ name : pypi
13+ permissions :
14+ id-token : write
15+ contents : read
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v5
19+ - name : " Set up Python"
20+ uses : actions/setup-python@v6
21+ with :
22+ python-version-file : " pyproject.toml"
23+ - name : Install uv
24+ uses : astral-sh/setup-uv@v6
25+ - name : Build
26+ run : uv build
27+ - name : Publish
28+ run : uv publish
You can’t perform that action at this time.
0 commit comments