https://github.com/getsentry/action-setup-venv
https://github.com/getsentry/action-setup-venv
tag-production
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/getsentry/action-setup-venv
- Owner: getsentry
- Created: 2023-01-10T23:29:05.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T17:24:51.000Z (8 months ago)
- Last Synced: 2025-03-22T06:47:06.170Z (7 months ago)
- Topics: tag-production
- Homepage:
- Size: 31.3 KB
- Stars: 11
- Watchers: 4
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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
```