Skip to content

Commit

Permalink
ci: disable uv caching
Browse files Browse the repository at this point in the history
we don't use lock file, so setup-uv falls back on "empty" cache key which can result in misleading dependency versions

see https://github.com/astral-sh/setup-uv?tab=readme-ov-file#enable-caching
  • Loading branch information
karlicoss committed Jan 18, 2025
1 parent 95af60a commit 4e89fd9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
python-version: ${{ matrix.python-version }}

- uses: astral-sh/setup-uv@v5
with:
enable-cache: false # we don't have lock files, so can't use them as cache key

- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -75,6 +77,8 @@ jobs:
python-version: '3.10'

- uses: astral-sh/setup-uv@v5
with:
enable-cache: false # we don't have lock files, so can't use them as cache key

- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 4e89fd9

Please sign in to comment.