We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b80efd6 commit 1aafadcCopy full SHA for 1aafadc
docs/advanced-usage.md
@@ -281,6 +281,20 @@ steps:
281
- run: pip install -e . -r subdirectory/requirements-dev.txt
282
```
283
284
+**Caching projects that use setup.py:**
285
+
286
+```yaml
287
+steps:
288
+- uses: actions/checkout@v3
289
+- uses: actions/setup-python@v4
290
+ with:
291
+ python-version: '3.11'
292
+ cache: 'pip'
293
+ cache-dependency-path: setup.py
294
+- run: pip install -e .
295
+ # Or pip install -e '.[test]' to install test dependencies
296
+```
297
298
# Outputs and environment variables
299
300
## Outputs
0 commit comments