File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,21 @@ jobs:
26
26
matrix :
27
27
os : ["ubuntu-20.04", "windows-latest"]
28
28
python_version : ["3.9", "3.10", "3.11", "3.12"]
29
+ env :
30
+ UV_SYSTEM_PYTHON : 1
29
31
steps :
30
32
- uses : actions/checkout@v4
31
33
- name : Setup python
32
34
uses : actions/setup-python@v5
33
35
with :
34
36
python-version : ${{ matrix.python_version }}
35
37
architecture : x64
38
+ - name : Install uv
39
+ uses : astral-sh/setup-uv@v3
40
+ with :
41
+ enable-cache : true
42
+ version : " 0.4.20"
43
+ cache-dependency-glob : " requirements**.txt"
36
44
- name : Setup node
37
45
uses : actions/setup-node@v4
38
46
with :
44
52
npm run build
45
53
- name : Install dependencies
46
54
run : |
47
- python -m pip install --upgrade pip
48
- pip install -r requirements-dev.txt
55
+ uv pip install -r requirements-dev.txt
49
56
- name : Lint with ruff
50
57
run : ruff check .
51
58
- name : Check types with mypy
You can’t perform that action at this time.
0 commit comments