mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-01-15 00:01:48 +00:00
main
7 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
b1836110f7 |
chore(ci): address CI lint findings (#545)
Some checks failed
test / lint (push) Failing after 11s
test / test-default-version (ubuntu-latest) (push) Failing after 11s
test / test-specific-version (0.3.0) (push) Failing after 11s
test / test-specific-version (0.3.2) (push) Failing after 11s
test / test-specific-version (>=0.3.0) (push) Failing after 10s
test / test-semver-range (ubuntu-latest) (push) Failing after 10s
test / test-pyproject-file-version (push) Failing after 10s
test / test-malformed-pyproject-file-fallback (push) Failing after 10s
test / test-version-file-version (push) Failing after 10s
test / test-version-file-hash-version (push) Failing after 10s
test / test-checksum (map[checksum:4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd os:ubuntu-latest]) (push) Failing after 10s
test / test-tool-install (ubuntu-latest) (push) Failing after 10s
test / test-with-explicit-token (push) Failing after 10s
test / test-python-version (ubuntu-latest) (push) Failing after 9s
test / test-setup-cache (auto, ubuntu-latest) (push) Failing after 8s
test / test-setup-cache-requirements-txt (push) Failing after 8s
test / test-setup-cache (true, ubuntu-latest) (push) Failing after 8s
test / test-musl (push) Failing after 12s
test / test-cache-local (map[expected-cache-dir:/home/runner/work/_temp/setup-uv-cache os:ubuntu-latest]) (push) Failing after 9s
test / test-no-python-version (push) Failing after 9s
test / test-absolute-path (push) Failing after 9s
test / test-relative-path (push) Failing after 9s
CodeQL / Analyze (TypeScript) (push) Failing after 1m17s
test / test-specific-version (0.3) (push) Failing after 1m29s
test / test-specific-version (0.3.x) (push) Failing after 1m29s
test / test-pep440-version (push) Failing after 1m28s
test / test-uv-file-version (push) Failing after 1m27s
test / test-tool-versions-file-version (push) Failing after 1m27s
test / test-uvx (push) Failing after 1m26s
test / test-activate-environment (ubuntu-latest) (push) Failing after 1m25s
test / test-setup-cache (false, ubuntu-latest) (push) Failing after 1m25s
test / test-setup-cache-dependency-glob (push) Failing after 1m24s
test / test-restore-cache-dependency-glob (push) Has been skipped
test / test-custom-manifest-file (push) Failing after 1m23s
Release Drafter / ✏️ Draft release (push) Has been cancelled
test / test-default-version (macos-14) (push) Has been cancelled
test / test-default-version (macos-latest) (push) Has been cancelled
test / test-default-version (windows-latest) (push) Has been cancelled
test / test-semver-range (selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-checksum (map[checksum:a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218 os:macos-latest]) (push) Has been cancelled
test / test-tool-install (macos-14) (push) Has been cancelled
test / test-tool-install (macos-latest) (push) Has been cancelled
test / test-tool-install (windows-latest) (push) Has been cancelled
test / test-tilde-expansion-tool-dirs (push) Has been cancelled
test / test-python-version (macos-latest) (push) Has been cancelled
test / test-python-version (windows-latest) (push) Has been cancelled
test / test-activate-environment (macos-latest) (push) Has been cancelled
test / test-activate-environment (windows-latest) (push) Has been cancelled
test / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (auto, windows-latest) (push) Has been cancelled
test / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (false, windows-latest) (push) Has been cancelled
test / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (true, windows-latest) (push) Has been cancelled
test / test-cache-local (map[expected-cache-dir:/home/ubuntu/.cache/uv os:selfhosted-ubuntu-arm64]) (push) Has been cancelled
test / test-cache-local (map[expected-cache-dir:D:\a\_temp\setup-uv-cache os:windows-latest]) (push) Has been cancelled
test / test-setup-cache-local (push) Has been cancelled
test / test-tilde-expansion-cache-local-path (push) Has been cancelled
test / test-tilde-expansion-cache-dependency-glob (push) Has been cancelled
test / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (auto, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (auto, windows-latest) (push) Has been cancelled
test / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (false, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (false, windows-latest) (push) Has been cancelled
test / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (true, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (true, windows-latest) (push) Has been cancelled
test / test-restore-cache-requirements-txt (push) Has been cancelled
test / test-restore-cache-local (push) Has been cancelled
test / cleanup-tilde-expansion-tests (push) Has been cancelled
test / all-tests-passed (push) Has been cancelled
Update known versions / build (push) Has been cancelled
This addresses all of zizmor's non-pedantic findings, and adds a workflow to proactively flag any more that come in. Key changes: * I've hash-pinned all actions references. Dependabot will continue to keep these updated and will update the hash comments as well. * I've marked every `actions/checkout` with `persist-credentials: false` except for one that actually needs persisted credentials (which I've explicitly enabled with an explanatory comment) * I've dropped some workflow-level permissions in favor of job-level permissions that were already provisioned. * I fixed two small template injections caused by expanding output contexts. I think these were not exploitable in practice, but fixing them is good for defense in depth (and makes spellcheck work nicely on these steps). --------- Signed-off-by: William Woodruff <william@astral.sh> |
||
|
|
ced7c1dde4 |
Run infrastructure workflows on arm runners (#396)
Some checks failed
test / test-specific-version (0.3.0) (push) Successful in 37s
test / test-default-version (ubuntu-latest) (push) Successful in 41s
test / test-specific-version (0.3) (push) Successful in 51s
CodeQL / Analyze (TypeScript) (push) Failing after 49s
test / test-specific-version (>=0.3.0) (push) Successful in 46s
test / test-with-explicit-token (push) Successful in 34s
test / test-uvx (push) Successful in 41s
test / lint (push) Successful in 1m26s
test / test-setup-cache (true, ubuntu-latest) (push) Successful in 48s
test / test-python-version (ubuntu-latest) (push) Successful in 1m2s
test / test-activate-environment (ubuntu-latest) (push) Successful in 1m14s
test / test-no-python-version (push) Failing after 13m31s
test / test-cache-local (map[expected-cache-dir:/home/runner/work/_temp/setup-uv-cache os:ubuntu-latest]) (push) Failing after 13m33s
test / test-setup-cache-dependency-glob (push) Failing after 13m35s
test / test-setup-cache-requirements-txt (push) Failing after 13m36s
test / test-setup-cache (false, ubuntu-latest) (push) Failing after 13m38s
test / test-setup-cache (auto, ubuntu-latest) (push) Failing after 13m38s
test / test-musl (push) Failing after 13m41s
test / test-tool-install (ubuntu-latest) (push) Failing after 13m45s
test / test-checksum (map[checksum:4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd os:ubuntu-latest]) (push) Failing after 13m47s
test / test-uv-file-version (push) Failing after 13m48s
test / test-malformed-pyproject-file-fallback (push) Failing after 13m49s
test / test-pyproject-file-version (push) Failing after 13m51s
test / test-pep440-version (push) Failing after 13m53s
test / test-semver-range (ubuntu-latest) (push) Failing after 13m54s
test / test-specific-version (0.3.x) (push) Failing after 13m57s
test / test-specific-version (0.3.2) (push) Failing after 13m58s
Release Drafter / ✏️ Draft release (push) Has been cancelled
test / test-default-version (macos-14) (push) Has been cancelled
test / test-default-version (macos-latest) (push) Has been cancelled
test / test-default-version (windows-latest) (push) Has been cancelled
test / test-semver-range (selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-checksum (map[checksum:a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218 os:macos-latest]) (push) Has been cancelled
test / test-tool-install (macos-14) (push) Has been cancelled
test / test-tool-install (macos-latest) (push) Has been cancelled
test / test-tool-install (windows-latest) (push) Has been cancelled
test / test-tilde-expansion-tool-dirs (push) Has been cancelled
test / test-python-version (macos-latest) (push) Has been cancelled
test / test-python-version (windows-latest) (push) Has been cancelled
test / test-activate-environment (macos-latest) (push) Has been cancelled
test / test-activate-environment (windows-latest) (push) Has been cancelled
test / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (auto, windows-latest) (push) Has been cancelled
test / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (false, windows-latest) (push) Has been cancelled
test / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-setup-cache (true, windows-latest) (push) Has been cancelled
test / test-cache-local (map[expected-cache-dir:/home/ubuntu/.cache/uv os:selfhosted-ubuntu-arm64]) (push) Has been cancelled
test / test-cache-local (map[expected-cache-dir:D:\a\_temp\setup-uv-cache os:windows-latest]) (push) Has been cancelled
test / test-setup-cache-local (push) Has been cancelled
test / test-tilde-expansion-cache-local-path (push) Has been cancelled
test / test-tilde-expansion-cache-dependency-glob (push) Has been cancelled
test / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (auto, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (auto, windows-latest) (push) Has been cancelled
test / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (false, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (false, windows-latest) (push) Has been cancelled
test / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test / test-restore-cache (true, ubuntu-latest) (push) Has been cancelled
test / test-restore-cache (true, windows-latest) (push) Has been cancelled
test / test-restore-cache-requirements-txt (push) Has been cancelled
test / test-restore-cache-dependency-glob (push) Has been cancelled
test / test-restore-cache-local (push) Has been cancelled
test / cleanup-tilde-expansion-tests (push) Has been cancelled
test / all-tests-passed (push) Has been cancelled
Update known checksums / build (push) Has been cancelled
Use more efficient runners to save resources. Every bit counts. |
||
|
|
389b596663 | Set required workflow permissions (#329) | ||
|
|
04c950a723 |
Add workflow_dispatch triggers to every workflow (#326)
Allows for easier testing. |
||
|
|
982fbca0f8 |
Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 (#249)
Some checks failed
test-cache-windows / test-setup-cache (push) Waiting to run
test-cache-windows / test-restore-cache (push) Blocked by required conditions
test-windows / test-default-version (push) Waiting to run
Release Drafter / ✏️ Draft release (push) Failing after 31s
test-cache / test-setup-cache (auto, ubuntu-latest) (push) Failing after 10s
Check dist/ / check-dist (push) Successful in 48s
test-cache / test-setup-cache (false, ubuntu-latest) (push) Failing after 9s
test-cache / test-setup-cache (true, ubuntu-latest) (push) Failing after 10s
test-cache / test-setup-cache-requirements-txt (push) Failing after 9s
test-cache / test-setup-cache-dependency-glob (push) Failing after 21s
test-cache / test-restore-cache-dependency-glob (push) Has been skipped
test-cache / test-no-python-version (push) Failing after 21s
test / test-default-version (ubuntu-latest) (push) Failing after 25s
test / test-specific-version (0.3) (push) Failing after 23s
test / build (push) Successful in 1m6s
test / test-specific-version (0.3.0) (push) Successful in 42s
test / test-specific-version (0.3.2) (push) Successful in 42s
test / test-specific-version (0.3.x) (push) Failing after 16s
test / test-specific-version (>=0.3.0) (push) Failing after 26s
test / test-pyproject-file-version (push) Failing after 4s
test / test-semver-range (push) Failing after 26s
test / test-checksum (4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd, ubuntu-latest) (push) Failing after 2s
test / test-uvx (push) Failing after 3s
test / test-tool-install (ubuntu-latest) (push) Failing after 2s
test / test-python-version (macos-latest) (push) Failing after 3s
test / test-uv-file-version (push) Successful in 24s
test / test-with-explicit-token (push) Failing after 25s
test / test-python-version (ubuntu-latest) (push) Failing after 3s
test / test-python-version (windows-latest) (push) Failing after 25s
test / test-malformed-pyproject-file-fallback (push) Failing after 23s
CodeQL / Analyze (TypeScript) (push) Failing after 14m54s
test-cache / test-setup-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-setup-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-setup-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-setup-cache-local (push) Has been cancelled
test-cache / test-tilde-expansion-cache-local-path (push) Has been cancelled
test-cache / test-tilde-expansion-cache-dependency-glob (push) Has been cancelled
test / test-default-version (macos-14) (push) Has been cancelled
test / test-default-version (macos-latest) (push) Has been cancelled
test / test-checksum (a70cbfbf3bb5c08b2f84963b4f12c94e08fbb2468ba418a3bfe1066fbe9e7218, macos-latest) (push) Has been cancelled
test / test-tool-install (macos-14) (push) Has been cancelled
test / test-tool-install (macos-latest) (push) Has been cancelled
test / test-tool-install (windows-latest) (push) Has been cancelled
test / test-tilde-expansion-tool-dirs (push) Has been cancelled
test-cache / test-restore-cache (auto, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-restore-cache (auto, ubuntu-latest) (push) Has been cancelled
test-cache / test-restore-cache (false, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-restore-cache (false, ubuntu-latest) (push) Has been cancelled
test-cache / test-restore-cache (true, selfhosted-ubuntu-arm64) (push) Has been cancelled
test-cache / test-restore-cache (true, ubuntu-latest) (push) Has been cancelled
test-cache / test-restore-cache-requirements-txt (push) Has been cancelled
test-cache / test-restore-cache-local (push) Has been cancelled
test-cache / cleanup-tilde-expansion-tests (push) Has been cancelled
Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 6.0.0 to 6.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/release-drafter/release-drafter/releases">release-drafter/release-drafter's releases</a>.</em></p> <blockquote> <h2>v6.1.0</h2> <h1>What's Changed</h1> <h2>New</h2> <ul> <li>Add config option for PR query limit (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1362">#1362</a>) <a href="https://github.com/ssolbeck"><code>@ssolbeck</code></a></li> </ul> <h2>Bug Fixes</h2> <ul> <li>Fix: Correctly mention bot accounts in release notes (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1376">#1376</a>) <a href="https://github.com/jamietanna"><code>@jamietanna</code></a></li> <li>Update only drafts with the same prerelease status (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1385">#1385</a>) <a href="https://github.com/jaap3"><code>@jaap3</code></a></li> </ul> <h2>Documentation</h2> <ul> <li>docs: Fix Fork Link (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1412">#1412</a>) <a href="https://github.com/Dor-bl"><code>@Dor-bl</code></a></li> <li>Ensure support new default branch name (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1079">#1079</a>) <a href="https://github.com/Triloworld"><code>@Triloworld</code></a></li> <li>update schema generation and update schema to draft 07 (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1422">#1422</a>) <a href="https://github.com/jetersen"><code>@jetersen</code></a></li> <li>fix typo: therelease (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1407">#1407</a>) <a href="https://github.com/billykern"><code>@billykern</code></a></li> <li>Document added action outputs introduced in <a href="https://redirect.github.com/release-drafter/release-drafter/issues/1300">#1300</a> (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1406">#1406</a>) <a href="https://github.com/SVNKoch"><code>@SVNKoch</code></a></li> <li>Update README.md (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1421">#1421</a>) <a href="https://github.com/yusufraji"><code>@yusufraji</code></a></li> <li>fix: update broken link in readme (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1416">#1416</a>) <a href="https://github.com/kopach"><code>@kopach</code></a></li> <li>Update v6 README.md (<a href="https://redirect.github.com/release-drafter/release-drafter/issues/1384">#1384</a>) <a href="https://github.com/taku333"><code>@taku333</code></a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/release-drafter/release-drafter/compare/v6.0.0...v6.1.0">https://github.com/release-drafter/release-drafter/compare/v6.0.0...v6.1.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
0fa3b93f6e |
Run Prettier over Markdown and YAML files (#35)
## Summary Partly personal preference, but mostly to align with other Astral projects. |
||
|
|
18498fc78f | Initial commit |