From 47f135552a27c99d4bae3cec7f187ffb7aa5e388 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Mon, 16 Sep 2024 15:45:50 +0200 Subject: [PATCH] Use better examples for cache-dependency-glob Adding the path separator `/` makes sure the files get found no matter where they are in the repo. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c450461..8dbba28 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ changes. The glob matches files relative to the repository root. uses: astral-sh/setup-uv@v2 with: enable-cache: true - cache-dependency-glob: "**requirements*.txt" + cache-dependency-glob: "**/requirements*.txt" ``` ```yaml @@ -118,8 +118,8 @@ changes. The glob matches files relative to the repository root. with: enable-cache: true cache-dependency-glob: | - **requirements*.txt - **pyproject.toml + **/requirements*.txt + **/pyproject.toml ``` ```yaml