hynek/Setup uv and Handle Its Cache

Downloads and installs the Python uv packaging manager and handles its cache.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 1, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: hynek/setup-cached-uv@4300ec2180bc77d705e626a34e381b81a4772c51 # v2.5.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
cache-suffixA suffix to append to the cache key.no""
cache-date-suffixArguments to pass to the date command to generate a cache key suffix.no+%V
cache-dependency-pathHash this file and use it as part of the cache key.nopyproject.toml
use-cache-ifSave the cache.notrue
uv-cache-pathWhere to put uv's cache directory.noNOT_SET

no outputs