Skip to content

Enable uv cache in setup-uv#22

Open
mendral-app[bot] wants to merge 1 commit intomainfrom
mendral/enable-uv-cache
Open

Enable uv cache in setup-uv#22
mendral-app[bot] wants to merge 1 commit intomainfrom
mendral/enable-uv-cache

Conversation

@mendral-app
Copy link
Copy Markdown

@mendral-app mendral-app bot commented Feb 25, 2026

Summary

  • Enable enable-cache: true on astral-sh/setup-uv@v4 in both lint and test jobs to cache UV_CACHE_DIR between runs
  • On cache hit, uv python install and uv sync resolve from local cache instead of downloading ~70 MiB of packages per job

Diff: +4 lines (with: block added to each job)

First run will be a cache miss (cold start) — the cache is saved at the end. Subsequent runs on the same uv.lock will hit cache and skip all downloads.

Resolves insight: Enable uv caching to avoid re-downloading dependencies on every CI run


Note

Created by Mendral. Tag Mendral (@mendral-app) with feedback or questions.

@mendral-app mendral-app bot marked this pull request as ready for review February 25, 2026 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants