mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-17 14:44:46 +00:00
Change default cache-dependency-glob (#352)
To support more users by default we should support popular dependency file formats. A quick GitHub search shows ~40k uses of `constraint.txt` and ~16k uses of `requirements.in`. Closes: #261
This commit is contained in:
parent
a0f9da6273
commit
aadfaf08d6
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue