You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hamilton.apache.org by sk...@apache.org on 2026/03/06 06:08:56 UTC
(hamilton) 37/39: Switch LSP workflow from pip to uv via astral-sh/setup-uv action
This is an automated email from the ASF dual-hosted git repository.
skrawcz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit 812b202bcb91d5946205a402db6f8715cd2d7952
Author: Stefan Krawczyk <st...@cs.stanford.edu>
AuthorDate: Sat Feb 28 13:19:28 2026 -0800
Switch LSP workflow from pip to uv via astral-sh/setup-uv action
---
.github/workflows/hamilton-lsp.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/hamilton-lsp.yml b/.github/workflows/hamilton-lsp.yml
index 58562849..eb24724e 100644
--- a/.github/workflows/hamilton-lsp.yml
+++ b/.github/workflows/hamilton-lsp.yml
@@ -30,11 +30,10 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
+ - uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: |
- python -m pip install --upgrade pip pytest
- pip install -e ${{ github.workspace }}
- pip install -e .
+ uv pip install --system -e ${{ github.workspace }} -e . pytest
- name: Run unit tests
run: |
pytest tests/