Skip to content

Commit

Permalink
fix: Invalidate uv cache based on pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Sep 27, 2024
1 parent 078fd1d commit e7a1987
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Install Copier
run: pip install copier copier-templates-extensions
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Install Copier
run: pip install copier copier-templates-extensions
Expand Down
2 changes: 2 additions & 0 deletions project/.github/workflows/ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Install dependencies
run: make setup
Expand Down Expand Up @@ -127,6 +128,7 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
cache-dependency-glob: "**/pyproject.toml"

- name: Install dependencies
env:
Expand Down

0 comments on commit e7a1987

Please sign in to comment.