diff --git a/README.md b/README.md index dc1b0dc..d7c2b0d 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,8 @@ changes. If you use relative paths, they are relative to the repository root. > The default is > ```yaml > cache-dependency-glob: | -> **/requirements*.txt +> **/*(requirements|constraints)*.(txt|in) +> **/pyproject.toml > **/uv.lock > ``` diff --git a/action.yml b/action.yml index 06af2ec..135c03e 100644 --- a/action.yml +++ b/action.yml @@ -31,8 +31,9 @@ inputs: "Glob pattern to match files relative to the repository root to control the cache." default: | + **/*(requirements|constraints)*.(txt|in) + **/pyproject.toml **/uv.lock - **/requirements*.txt cache-suffix: description: "Suffix for the cache key" required: false