mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-05-16 22:24:45 +00:00
Run Prettier over Markdown and YAML files (#35)
## Summary Partly personal preference, but mostly to align with other Astral projects.
This commit is contained in:
parent
6f825bd8e7
commit
0fa3b93f6e
16 changed files with 192 additions and 173 deletions
16
action.yml
16
action.yml
|
@ -2,20 +2,24 @@ name: 'Python setup uv'
|
|||
description: 'Set up your GitHub Actions workflow with a specific version of uv'
|
||||
author: 'eifinger'
|
||||
inputs:
|
||||
version:
|
||||
version:
|
||||
description: 'The version of uv to install'
|
||||
default: '0.4.4'
|
||||
checksum:
|
||||
description: 'The checksum of the uv version to install'
|
||||
required: false
|
||||
github-token:
|
||||
description: 'Used to increase the rate limit when retrieving versions and downloading uv.'
|
||||
description:
|
||||
'Used to increase the rate limit when retrieving versions and downloading
|
||||
uv.'
|
||||
required: false
|
||||
enable-cache:
|
||||
description: 'Enable caching of the uv cache'
|
||||
default: 'false'
|
||||
cache-dependency-glob:
|
||||
description: 'Glob pattern to match files relative to the repository root to control the cache. e.g. "uv.lock"'
|
||||
description:
|
||||
'Glob pattern to match files relative to the repository root to control
|
||||
the cache. e.g. "uv.lock"'
|
||||
required: false
|
||||
cache-suffix:
|
||||
description: 'Suffix for the cache key'
|
||||
|
@ -25,9 +29,9 @@ inputs:
|
|||
default: '/tmp/setup-uv-cache'
|
||||
outputs:
|
||||
uv-version:
|
||||
description: "The installed uv version. Useful when using latest."
|
||||
description: 'The installed uv version. Useful when using latest.'
|
||||
cache-hit:
|
||||
description: "A boolean value to indicate a cache entry was found"
|
||||
description: 'A boolean value to indicate a cache entry was found'
|
||||
runs:
|
||||
using: 'node20'
|
||||
main: 'dist/setup/index.js'
|
||||
|
@ -35,4 +39,4 @@ runs:
|
|||
post-if: success()
|
||||
branding:
|
||||
icon: 'package'
|
||||
color: 'blue'
|
||||
color: 'blue'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue