1919 - name : Checkout Repository
2020 uses : actions/checkout@v4
2121
22- - name : Set up Python
23- uses : actions/setup-python@v5
24- with :
25- python-version : " 3.12"
26-
27- - name : Install uv
28- uses : astral-sh/setup-uv@v4
29- with :
30- enable-cache : true
22+ - name : Setup Python and uv
23+ uses : ./.github/actions/setup-python-uv
3124
3225 - name : Install dependencies
3326 run : uv pip install black[jupyter]==24.2.0 blacken-docs
5346 ref : " main"
5447 path : " agentlab"
5548
56- - name : Set up Python
57- uses : actions/setup-python@v5
58- with :
59- python-version : " 3.12"
60-
61- - name : Install uv
62- uses : astral-sh/setup-uv@v4
63- with :
64- enable-cache : true
49+ - name : Setup Python and uv
50+ uses : ./.github/actions/setup-python-uv
6551
6652 - name : Install AgentLab
6753 working-directory : ./agentlab
@@ -105,15 +91,8 @@ jobs:
10591 - name : Checkout Repository
10692 uses : actions/checkout@v4
10793
108- - name : Set up Python
109- uses : actions/setup-python@v5
110- with :
111- python-version : " 3.12"
112-
113- - name : Install uv
114- uses : astral-sh/setup-uv@v4
115- with :
116- enable-cache : true
94+ - name : Setup Python and uv
95+ uses : ./.github/actions/setup-python-uv
11796
11897 - name : Install dependencies
11998 working-directory : ./dev
@@ -139,15 +118,8 @@ jobs:
139118 - name : Checkout Repository
140119 uses : actions/checkout@v4
141120
142- - name : Set up Python
143- uses : actions/setup-python@v5
144- with :
145- python-version : " 3.12"
146-
147- - name : Install uv
148- uses : astral-sh/setup-uv@v4
149- with :
150- enable-cache : true
121+ - name : Setup Python and uv
122+ uses : ./.github/actions/setup-python-uv
151123
152124 - name : Install dependencies
153125 working-directory : ./dev
@@ -188,15 +160,8 @@ jobs:
188160 - name : Checkout Repository
189161 uses : actions/checkout@v4
190162
191- - name : Set up Python
192- uses : actions/setup-python@v5
193- with :
194- python-version : " 3.12"
195-
196- - name : Install uv
197- uses : astral-sh/setup-uv@v4
198- with :
199- enable-cache : true
163+ - name : Setup Python and uv
164+ uses : ./.github/actions/setup-python-uv
200165
201166 - name : Install dependencies
202167 working-directory : ./dev
@@ -239,15 +204,8 @@ jobs:
239204 - name : Checkout Repository
240205 uses : actions/checkout@v4
241206
242- - name : Set up Python
243- uses : actions/setup-python@v5
244- with :
245- python-version : " 3.12"
246-
247- - name : Install uv
248- uses : astral-sh/setup-uv@v4
249- with :
250- enable-cache : true
207+ - name : Setup Python and uv
208+ uses : ./.github/actions/setup-python-uv
251209
252210 - name : Install dependencies
253211 working-directory : ./dev
@@ -284,15 +242,8 @@ jobs:
284242 - name : Checkout Repository
285243 uses : actions/checkout@v4
286244
287- - name : Set up Python
288- uses : actions/setup-python@v5
289- with :
290- python-version : " 3.12"
291-
292- - name : Install uv
293- uses : astral-sh/setup-uv@v4
294- with :
295- enable-cache : true
245+ - name : Setup Python and uv
246+ uses : ./.github/actions/setup-python-uv
296247
297248 - name : Install dependencies
298249 working-directory : ./dev
@@ -328,15 +279,8 @@ jobs:
328279 - name : Checkout Repository
329280 uses : actions/checkout@v4
330281
331- - name : Set up Python
332- uses : actions/setup-python@v5
333- with :
334- python-version : " 3.12"
335-
336- - name : Install uv
337- uses : astral-sh/setup-uv@v4
338- with :
339- enable-cache : true
282+ - name : Setup Python and uv
283+ uses : ./.github/actions/setup-python-uv
340284
341285 - name : Install dependencies
342286 working-directory : ./dev
@@ -373,15 +317,8 @@ jobs:
373317 - name : Checkout Repository
374318 uses : actions/checkout@v4
375319
376- - name : Set up Python
377- uses : actions/setup-python@v5
378- with :
379- python-version : " 3.12"
380-
381- - name : Install uv
382- uses : astral-sh/setup-uv@v4
383- with :
384- enable-cache : true
320+ - name : Setup Python and uv
321+ uses : ./.github/actions/setup-python-uv
385322
386323 - name : Install dependencies
387324 working-directory : ./dev
@@ -417,15 +354,8 @@ jobs:
417354 - name : Checkout Repository
418355 uses : actions/checkout@v4
419356
420- - name : Set up Python
421- uses : actions/setup-python@v5
422- with :
423- python-version : " 3.12"
424-
425- - name : Install uv
426- uses : astral-sh/setup-uv@v4
427- with :
428- enable-cache : true
357+ - name : Setup Python and uv
358+ uses : ./.github/actions/setup-python-uv
429359
430360 - name : Install dependencies
431361 working-directory : ./dev
0 commit comments