@@ -20,15 +20,17 @@ jobs:
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- uses : actions/checkout@v4
23
- - uses : actions /setup-python@v5
23
+ - uses : astral-sh /setup-uv@v6
24
24
with :
25
25
python-version : " 3.10"
26
+ activate-environment : true
27
+ enable-cache : true
26
28
27
29
- run : sudo npm install katex -g
28
- - uses : actions/cache@v4
29
- with :
30
- path : ~/.cache/pip
31
- key : pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
30
+ # - uses: actions/cache@v4
31
+ # with:
32
+ # path: ~/.cache/pip
33
+ # key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
32
34
33
35
- name : Install docs deps
34
36
run : bash .github/workflows/install_docs_deps.sh
@@ -51,14 +53,16 @@ jobs:
51
53
timeout-minutes : 10
52
54
steps :
53
55
- uses : actions/checkout@v4
54
- - uses : actions /setup-python@v5
56
+ - uses : astral-sh /setup-uv@v6
55
57
with :
56
58
python-version : " 3.10"
59
+ activate-environment : true
60
+ enable-cache : true
57
61
58
- - uses : actions/cache@v4
59
- with :
60
- path : ~/.cache/pip
61
- key : pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
62
+ # - uses: actions/cache@v4
63
+ # with:
64
+ # path: ~/.cache/pip
65
+ # key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
62
66
63
67
- name : Install docs deps
64
68
run : bash .github/workflows/install_docs_deps.sh
@@ -72,15 +76,23 @@ jobs:
72
76
runs-on : ubuntu-latest
73
77
steps :
74
78
- uses : actions/checkout@v4
75
- - uses : actions/setup-python@v5
79
+
80
+ - uses : astral-sh/setup-uv@v6
76
81
with :
77
82
python-version : " 3.10"
83
+ activate-environment : true
84
+ enable-cache : true
85
+
86
+ - name : Check lock
87
+ id : check-lock
88
+ run : |
89
+ uv lock --check
78
90
79
91
- run : sudo npm install katex -g
80
- - uses : actions/cache@v4
81
- with :
82
- path : ~/.cache/pip
83
- key : pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
92
+ # - uses: actions/cache@v4
93
+ # with:
94
+ # path: ~/.cache/pip
95
+ # key: pip-${{ hashFiles('requirements-dev.txt') }}-${{ hashFiles('docs/requirements.txt') }}
84
96
85
97
- name : Install docs deps
86
98
run : bash .github/workflows/install_docs_deps.sh
0 commit comments