diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3616d0c..8ddf39b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -244,6 +244,8 @@ jobs: exit 1 fi shell: bash + - run: uv sync + working-directory: __tests__/fixtures/uv-project test-activate-environment: runs-on: ${{ matrix.os }} diff --git a/README.md b/README.md index 37693f6..1c89db5 100644 --- a/README.md +++ b/README.md @@ -210,7 +210,10 @@ changes. If you use relative paths, they are relative to the repository root. > The default is > ```yaml > cache-dependency-glob: | -> **/*(requirements|constraints)*.(txt|in) +> **/*requirements*.txt +> **/*requirements*.in +> **/*constraints*.txt +> **/*constraints*.in > **/pyproject.toml > **/uv.lock > ``` diff --git a/action.yml b/action.yml index 135c03e..6882851 100644 --- a/action.yml +++ b/action.yml @@ -31,7 +31,10 @@ inputs: "Glob pattern to match files relative to the repository root to control the cache." default: | - **/*(requirements|constraints)*.(txt|in) + **/*requirements*.txt + **/*requirements*.in + **/*constraints*.txt + **/*constraints*.in **/pyproject.toml **/uv.lock cache-suffix: