Skip to content

Commit 9ea47f9

Browse files
Add --system flag to uv pip install for GitHub Actions
Co-authored-by: sophiagavrila <[email protected]>
1 parent 67784ea commit 9ea47f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/pyright.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: astral-sh/setup-uv@v5
2222
- name: Install dependencies
2323
run: |
24-
uv pip install hatch hatch-pip-compile
24+
uv pip install --system hatch hatch-pip-compile
2525
hatch env create dev
2626
- run: echo "$(hatch env find dev)/bin" >> $GITHUB_PATH
2727
- name: Run pyright

.github/workflows/pytest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: astral-sh/setup-uv@v5
2828
- name: Install dependencies
2929
run: |
30-
uv pip install hatch hatch-pip-compile
30+
uv pip install --system hatch hatch-pip-compile
3131
hatch env create dev
3232
- name: Test with pytest
3333
run: |

.github/workflows/ruff.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: astral-sh/setup-uv@v5
2222
- name: Install dependencies
2323
run: |
24-
uv pip install hatch hatch-pip-compile
24+
uv pip install --system hatch hatch-pip-compile
2525
hatch env create dev
2626
- name: Lint with Ruff (check)
2727
run: |

0 commit comments

Comments
 (0)