-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump astral-sh/setup-uv from 4 to 5 in the github-actions group #3
base: main
Are you sure you want to change the base?
Bump astral-sh/setup-uv from 4 to 5 in the github-actions group #3
Conversation
Bumps the github-actions group with 1 update: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv). Updates `astral-sh/setup-uv` from 4 to 5 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](astral-sh/setup-uv@v4...v5) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]>
Reviewer's Guide by SourceryThis PR updates the astral-sh/setup-uv GitHub Action from v4 to v5. This change introduces automatic caching on GitHub hosted runners, adds requirements*.txt to the default cache dependency glob, auto-activates a virtual environment when python-version is set, and includes several bug fixes and enhancements. Sequence diagram for updated setup-uv v5 workflow with automatic cachingsequenceDiagram
participant GH as GitHub Action
participant UV as setup-uv@v5
participant Cache as GitHub Cache
participant PyPI as PyPI (Fastly)
GH->>UV: Run setup-uv action
Note over UV: Check if on GitHub hosted runner
UV->>Cache: Check for cached dependencies
alt Cache hit
Cache-->>UV: Return cached packages
else Cache miss
UV->>PyPI: Download packages
UV->>Cache: Store packages in cache
end
Note over UV: Auto-create and activate venv
UV-->>GH: Setup complete
State diagram for setup-uv v5 caching behaviorstateDiagram-v2
[*] --> CheckRunner
CheckRunner --> CacheEnabled: GitHub hosted runner
CheckRunner --> CacheDisabled: Self-hosted runner
CacheEnabled --> CheckDependencies
CheckDependencies --> ScanFiles: Check dependency files
ScanFiles --> CacheCheck: Search uv.lock and requirements*.txt
CacheCheck --> UseCachedDeps: Cache hit
CacheCheck --> DownloadDeps: Cache miss
DownloadDeps --> UpdateCache: After download
UseCachedDeps --> SetupComplete
UpdateCache --> SetupComplete
CacheDisabled --> SetupComplete
SetupComplete --> [*]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
Bumps the github-actions group with 1 update: astral-sh/setup-uv.
Updates
astral-sh/setup-uv
from 4 to 5Release notes
Sourced from astral-sh/setup-uv's releases.
... (truncated)
Commits
180f8b4
Fix wrong cacheDependencyPathHash (#201)e3fb95a
Warn instead of fail for no-dependency-glob (#200)2af22b5
chore: update known checksums for 0.5.11 (#198)dd57877
Auto activate venv when python-version is set (#194)85aa0bf
chore: update known checksums for 0.5.10 (#196)1f2cbfa
Bump@types/node
from 22.10.1 to 22.10.2 (#189)25b3ce6
chore: update known checksums for 0.5.9 (#195)856099c
Add python version to cache key (#187)e3017a7
Default to enable-cache: true on GitHub hosted runners (#193)3460fe1
Always use api.github.com (#191)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major version
will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor version
will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>
will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditionsSummary by Sourcery
Build: