Add **/requirements*.txt to default cache-dependency-glob (#185)

Contributes to: https://github.com/astral-sh/setup-uv/issues/181
This commit is contained in:
Kevin Stillhammer 2024-12-08 17:51:13 +01:00 committed by GitHub
parent bdcda7e77f
commit be4207d29e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 47 additions and 3 deletions

View file

@ -25,7 +25,9 @@ inputs:
description:
"Glob pattern to match files relative to the repository root to control
the cache."
default: "**/uv.lock"
default: |
**/uv.lock
**/requirements*.txt
cache-suffix:
description: "Suffix for the cache key"
required: false