File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66version : 2
77updates :
8- - package-ecosystem : uv
8+ - package-ecosystem : " uv "
99 directory : " /"
1010 schedule :
1111 interval : " weekly"
12- open-pull-requests-limit : 10
12+ groups :
13+ minor-and-patch :
14+ update-types :
15+ - " patch"
16+ - " minor"
17+ major :
18+ update-types :
19+ - " major"
1320 assignees :
1421 - " zoola969"
1522 reviewers :
1623 - " zoola969"
1724 commit-message :
1825 prefix : " deps"
1926 include : " scope"
27+
28+ - package-ecosystem : " github-actions"
29+ directory : " /"
30+ schedule :
31+ interval : " weekly"
32+ groups :
33+ minor-and-patch :
34+ update-types :
35+ - " patch"
36+ - " minor"
37+ major :
38+ update-types :
39+ - " major"
Original file line number Diff line number Diff line change @@ -13,16 +13,12 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v4
16- - name : " Set up Python"
17- uses : actions/setup-python@v5
18- with :
19- python-version-file : " .python-version"
2016
21- - name : Install project
22- run : uv sync --locked --no-default-groups
17+ - name : Install uv and set the python version
18+ uses : astral-sh/setup-uv@v7
2319
2420 - name : Build
25- run : uv build --build
21+ run : uv build
2622
2723 - name : Store package distributions
2824 uses : actions/upload-artifact@v3
Original file line number Diff line number Diff line change 11---
22name : Tests
3- permissions :
4- contents : read
53
64on :
75 push :
86 branches : ["master"]
97 pull_request :
108 branches : ["master"]
119
10+ permissions :
11+ contents : read
12+
1213jobs :
1314 tests :
1415 name : " Python ${{ matrix.python-version }}"
@@ -29,10 +30,10 @@ jobs:
2930 run : uv sync --locked --no-default-groups --no-install-project --group dev --group test
3031
3132 - name : " Run mypy"
32- run : uv run --no-project mypy cachium
33+ run : uv run mypy cachium
3334
3435 - name : " Run tests"
3536 run : uv run coverage run -m pytest tests/
3637
3738 - name : " Enforce coverage"
38- run : uv run --no-project coverage report --show-missing --skip-covered --fail-under=100
39+ run : uv run coverage report --show-missing --skip-covered --fail-under=100
Original file line number Diff line number Diff line change @@ -187,11 +187,5 @@ trailing_comma_inline_array = true
187187[tool .uv ]
188188default-groups = [" dev" , " docs" , " test" ]
189189
190- [[tool .uv .index ]]
191- explicit = true
192- name = " pypi"
193- publish-url = " https://pypi.org/legacy/"
194- url = " https://pypi.org/simple/"
195-
196190[tool .uv-dynamic-versioning ]
197191fallback-version = " 0.0.0"
You can’t perform that action at this time.
0 commit comments