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:
Kevin Stillhammer 2025-04-24 15:18:27 +02:00 committed by GitHub
parent a0f9da6273
commit aadfaf08d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -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