Skip to content

Commit 7ab279c

Browse files
committed
Change github actions for mkdocs to use uv instead of sync.
Signed-off-by: Rahul Krishna <rkrsn@ibm.com>
1 parent 8191e20 commit 7ab279c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/mkdocs-deploy.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ jobs:
1515
run: |
1616
git config --global user.name 'GitHub Actions'
1717
git config --global user.email 'actions@github.com'
18-
- name: Set up Python 3.11
18+
- name: Set up Python 3.12.12
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.11"
22-
- name: Install Poetry
23-
run: pip install poetry
21+
python-version: "3.12.12"
22+
- name: Set up uv
23+
uses: astral-sh/setup-uv@v3
2424
- name: Clone python-sdk
2525
run: git clone --depth 1 https://github.com/codellm-devkit/python-sdk.git ../python-sdk
2626
- name: Install Dependencies
27-
run: poetry install --no-root
28-
- name: Install python-sdk into Poetry venv
29-
run: poetry run pip install -e ../python-sdk
27+
run: uv sync --frozen
28+
- name: Install python-sdk into uv venv
29+
run: uv pip install -e ../python-sdk
3030
- name: Deploy docs
31-
run: poetry run mkdocs gh-deploy --force --verbose
31+
run: uv run mkdocs gh-deploy --force --verbose

0 commit comments

Comments
 (0)