Skip to content

Commit 734d725

Browse files
add uv to gh workflow
1 parent 9231317 commit 734d725

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish-marimo.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,16 @@ jobs:
1919
with:
2020
python-version: '3.11'
2121

22-
- name: Install Marimo
23-
run: pip install marimo
22+
- name: Install uv
23+
uses: astral-sh/setup-uv@v5
24+
25+
- name: Install dependencies
26+
run: uv add marimo
2427

2528
- name: Export Marimo Notebook
2629
run: |
27-
marimo export html data_science_tools/polars_vs_pandas.py -o build/data_science_tools/polars_vs_pandas.html --sandbox
28-
marimo export html llm/pydantic_ai_examples.py -o build/llm/pydantic_ai_examples.html --sandbox
30+
uv run marimo export html data_science_tools/polars_vs_pandas.py -o build/data_science_tools/polars_vs_pandas.html --sandbox
31+
uv run marimo export html llm/pydantic_ai_examples.py -o build/llm/pydantic_ai_examples.html --sandbox
2932
3033
- name: Upload Pages Artifact
3134
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)