step-security/step-security/setup-uv

Set up your GitHub Actions workflow with a specific version of uv.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionThe version of uv to install e.g., `0.5.0` Defaults to the version in pyproject.toml or 'latest'.""
version-filePath to a file containing the version of uv to install, e.g., uv.toml, pyproject.toml, .tool-versions, requirements.txt or uv.lock. Defaults to searching for uv.toml and if not found pyproject.toml.""
python-versionThe version of Python to set UV_PYTHON tono
activate-environmentUse uv venv to activate a venv ready to be used by later steps. false
venv-pathCustom path for the virtual environment when using activate-environment. Defaults to '.venv' in the working directory.""
no-projectPass --no-project when creating the venv with activate-environment.false
working-directoryThe directory to execute all commands in and look for files such as pyproject.toml${{ github.workspace }}
checksumThe checksum of the uv version to installno
github-tokenUsed when downloading uv from GitHub releases.no${{ github.token }}
enable-cacheEnable uploading of the uv cacheauto
cache-dependency-globGlob pattern to match files relative to the working directory to control the cache.**/*requirements*.txt **/*requirements*.in **/*constraints*.txt **/*constraints*.in **/pyproject.toml **/uv.lock **/*.py.lock
restore-cacheWhether to restore the cache if found.true
save-cacheWhether to save the cache after the run.true
cache-suffixSuffix for the cache keyno
cache-local-pathLocal path to store the cache.""
prune-cachePrune cache before saving.true
cache-pythonUpload managed Python installations to the Github Actions cache.false
ignore-nothing-to-cacheIgnore when nothing is found to cache.false
ignore-empty-workdirIgnore when the working directory is empty.false
tool-dirCustom path to set UV_TOOL_DIR to.no
tool-bin-dirCustom path to set UV_TOOL_BIN_DIR to.no
manifest-fileURL to a custom manifest file in the astral-sh/versions format.no
download-from-astral-mirrorDownload uv from the Astral mirror instead of directly from GitHub Releases.true
add-problem-matchersAdd problem matchers.true
quietSuppress info-level log output. Only warnings and errors are shown.false
resolution-strategyResolution strategy to use when resolving version ranges. 'highest' uses the latest compatible version, 'lowest' uses the oldest compatible version.highest
namedescription
uv-versionThe installed uv version. Useful when using latest.
uv-pathThe path to the installed uv binary.
uvx-pathThe path to the installed uvx binary.
cache-hitA boolean value to indicate a cache entry was found
cache-keyThe cache key used for storing/restoring the cache
venvPath to the activated venv if activate-environment is true
python-versionThe Python version that was set.
python-cache-hitA boolean value to indicate the Python cache entry was found