Skip to content

Commit 3c7bace

Browse files
authored
Merge pull request #27802 from github/repo-sync
repo sync
2 parents 7bd3ccb + 871e51f commit 3c7bace

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/actions/automating-builds-and-tests/building-and-testing-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ steps:
244244
- run: pip test
245245
```
246246

247-
By default, the `setup-python` action searches for the dependency file (`requirements.txt` for pip or `Pipfile.lock` for pipenv) in the whole repository. For more information, see "[Caching packages dependencies](https://github.com/actions/setup-python#caching-packages-dependencies)" in the `setup-python` README.
247+
By default, the `setup-python` action searches for the dependency file (`requirements.txt` for pip, `Pipfile.lock` for pipenv or `poetry.lock` for poetry) in the whole repository. For more information, see "[Caching packages dependencies](https://github.com/actions/setup-python#caching-packages-dependencies)" in the `setup-python` README.
248248

249249
If you have a custom requirement or need finer controls for caching, you can use the [`cache` action](https://github.com/marketplace/actions/cache). Pip caches dependencies in different locations, depending on the operating system of the runner. The path you'll need to cache may differ from the Ubuntu example above, depending on the operating system you use. For more information, see [Python caching examples](https://github.com/actions/cache/blob/main/examples.md#python---pip) in the `cache` action repository.
250250

content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ To cache dependencies for a job, you can use {% data variables.product.prodname_
3737
<td><a href="https://github.com/actions/setup-node#caching-global-packages-data">setup-node</a></td>
3838
</tr>
3939
<tr>
40-
<td>pip, pipenv</td>
40+
<td>pip, pipenv, poetry</td>
4141
<td><a href="https://github.com/actions/setup-python#caching-packages-dependencies">setup-python</a></td>
4242
</tr>
4343
<tr>

0 commit comments

Comments
 (0)