From 023b8ec2bc12fec519f3d64c0bf12c39137acc0e Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 3 May 2025 10:41:06 -0700 Subject: [PATCH] Add section to README explaining if packages are installed by setup-uv (#398) Fixes #397 --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1c89db5..a875426 100644 --- a/README.md +++ b/README.md @@ -488,6 +488,11 @@ Some workflows need uv but do not need to access the repository content. But **if** you need to access the repository content, you have run `actions/checkout` before running `setup-uv`. Running `actions/checkout` after `setup-uv` **is not supported**. +### Does `setup-uv` also install my project or its dependencies automatically? + +No, `setup-uv` alone wont install any libraries from your `pyproject.toml` or `requirements.txt`, it only sets up `uv`. +You should run `uv sync` or `uv pip install .` separately, or use `uv run ...` to ensure necessary dependencies are installed. + ## Acknowledgements `setup-uv` was initially written and published by [Kevin Stillhammer](https://github.com/eifinger)