Skip to content

Commit

Permalink
docs: clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Nov 17, 2024
1 parent 334248b commit 682d3dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ Internally, the GitHub Actions function [`hashFiles`](https://docs.github.com/en
Using this with a fully pinned [`uv.lock`](https://docs.astral.sh/uv/concepts/projects/) or `requirements.txt` file is the most efficient use of this action because it automatically invalidates the cache when your dependencies or their versions change.

You may want to set `cache-date-suffix` to `""` if you use this input with an all-encompassing lockfile.
The default is `pyproject.toml` which invalidates the cache whenever a modern Python package changes its packaging metadata.

The default is `pyproject.toml` which invalidates the cache whenever a modern Python package changes its packaging metadata, but is not enough to be the only driver for cache invalidation.


#### `cache-suffix`
Expand Down

0 comments on commit 682d3dd

Please sign in to comment.