An open API service indexing awesome lists of open source software.

https://github.com/getsentry/action-setup-venv


https://github.com/getsentry/action-setup-venv

tag-production

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

action-setup-venv
==================

Sets up python and a virtual environment with caching.

The main benefit of this action over using `setup-python` is that it caches
the entire venv directory and will skip the `pip install ...` entirely
when the cache is available.

### Usage

```yaml
- uses: getsentry/action-setup-venv@v2.1.1
id: venv
with:
python-version: 3.10.7
cache-dependency-path: |
requirements.txt
requirements-frozen.txt
install-cmd: pip install -r requirements.txt -c requirements-frozen.txt
```