Commit Graph

19 Commits

Author SHA1 Message Date
Kevin Stillhammer
58765bf77f Always fall back to anonymous download 2025-02-28 16:10:26 +01:00
Kevin Stillhammer
1edb52594c Add more debug logs (#297)
Some checks failed
Release Drafter / ✏️ Draft release (push) Failing after 13s
test-cache / test-setup-cache (false, ubuntu-latest) (push) Successful in 59s
test-cache / test-setup-cache (true, ubuntu-latest) (push) Successful in 45s
CodeQL / Analyze (TypeScript) (push) Failing after 2m21s
test-cache / test-setup-cache-dependency-glob (push) Failing after 4s
test-cache / test-restore-cache-dependency-glob (push) Has been skipped
test-cache / test-no-python-version (push) Failing after 6s
Check dist/ / check-dist (push) Successful in 2m37s
test / test-default-version (ubuntu-latest) (push) Failing after 6s
test / test-specific-version (0.3) (push) Failing after 4s
test-cache / test-setup-cache-requirements-txt (push) Successful in 49s
test / test-specific-version (0.3.0) (push) Failing after 5s
test / test-specific-version (0.3.x) (push) Failing after 4s
test / test-specific-version (>=0.3.0) (push) Failing after 3s
test / test-semver-range (push) Failing after 4s
test / test-pyproject-file-version (push) Failing after 3s
test / test-uv-file-version (push) Failing after 4s
test / test-checksum (4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd, ubuntu-latest) (push) Failing after 3s
test / test-with-explicit-token (push) Failing after 4s
test / test-specific-version (0.3.2) (push) Successful in 46s
test / test-uvx (push) Failing after 5s
test / test-python-version (macos-latest) (push) Failing after 5s
test / test-python-version (ubuntu-latest) (push) Failing after 3s
test / test-python-version (windows-latest) (push) Failing after 4s
test / test-malformed-pyproject-file-fallback (push) Failing after 4s
test / test-musl (push) Failing after 6s
test / test-tool-install (ubuntu-latest) (push) Successful in 1m4s
test / build (push) Successful in 3m19s
test-cache / test-setup-cache (auto, ubuntu-latest) (push) Failing after 6m47s
test-cache-windows / test-setup-cache (push) Has been cancelled
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-windows / test-default-version (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-windows / test-restore-cache (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
Update known checksums / build (push) Failing after 13s
2025-02-21 11:10:37 +01:00
Kevin Stillhammer
4db96194c3 Do not expect GITHUB_TOKEN to be set or valid (#262)
Some checks failed
Check dist/ / check-dist (push) Failing after 11s
Release Drafter / ✏️ Draft release (push) Failing after 10s
test-cache / test-setup-cache (auto, ubuntu-latest) (push) Failing after 5s
CodeQL / Analyze (TypeScript) (push) Failing after 31s
test-cache / test-setup-cache (false, ubuntu-latest) (push) Successful in 23s
test-cache / test-setup-cache-requirements-txt (push) Successful in 37s
test-cache / test-setup-cache-dependency-glob (push) Successful in 36s
test-cache / test-setup-cache (true, ubuntu-latest) (push) Failing after 54s
test / test-default-version (ubuntu-latest) (push) Failing after 31s
test-cache / test-no-python-version (push) Successful in 55s
test / test-specific-version (0.3) (push) Failing after 31s
test / build (push) Successful in 1m18s
test / test-specific-version (0.3.0) (push) Successful in 30s
test / test-specific-version (0.3.2) (push) Failing after 30s
test / test-specific-version (>=0.3.0) (push) Successful in 41s
test / test-specific-version (0.3.x) (push) Successful in 48s
test / test-semver-range (push) Failing after 31s
test / test-pyproject-file-version (push) Successful in 34s
test / test-uv-file-version (push) Successful in 34s
test / test-checksum (4d9279ad5ca596b1e2d703901d508430eb07564dc4d8837de9e2fca9c90f8ecd, ubuntu-latest) (push) Failing after 30s
test / test-tool-install (ubuntu-latest) (push) Failing after 31s
test / test-with-explicit-token (push) Successful in 36s
test / test-uvx (push) Successful in 39s
test / test-python-version (macos-latest) (push) Failing after 32s
test / test-malformed-pyproject-file-fallback (push) Failing after 31s
test / test-python-version (ubuntu-latest) (push) Successful in 1m6s
test / test-python-version (windows-latest) (push) Successful in 1m1s
test-cache / test-restore-cache-dependency-glob (push) Successful in 49s
test-cache-windows / test-setup-cache (push) Has been cancelled
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-windows / test-default-version (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-windows / test-restore-cache (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
This fixes issues with GHES

Fixes: #221
2025-01-30 14:37:07 +01:00
Kevin Stillhammer
3460fe1a9a Always use api.github.com (#191)
The octokit client would default to the URL of enterprise instances and
then not be able to find the uv repo.

Closes: #188
2024-12-11 18:42:54 +01:00
pollenJP(@'ω'@)
38f3f10444 Resolve latest version instead of downloading latest release (#178) 2024-11-30 19:12:35 +01:00
Kevin Stillhammer
2e657c127d Avoid leftover files by using temp dir (#150)
Fixes: #149
2024-11-06 12:52:46 +01:00
Kevin Stillhammer
6f467a02b3 add archive extension to downloaded assets (#148)
Fixes missing .zip extensions
which breaks on old PowerShell versions

Fixes: #147
2024-11-05 21:21:57 +01:00
Charlie Marsh
c11f8674f8 Migrate to Biome for linting and formatting (#107) 2024-09-30 08:55:24 +02:00
Kevin Stillhammer
ce0062aac7 Add support for semver version ranges (#82)
Closes: #38
2024-09-18 09:29:09 +00:00
Kevin Stillhammer
b463f5b8ca rename utils/utils.ts to constants.ts (#59) 2024-09-07 12:13:50 +00:00
Charlie Marsh
182c9c7e92 Change Prettier settings (#36)
## Summary

I know this is a little tedious but I'd prefer to use the same settings
as in Ruff.
2024-09-05 08:06:45 -04:00
Kevin Stillhammer
3e3aecd6b6 On windows extracting the zip does not create an intermediate directory 2024-08-24 09:20:02 +02:00
Kevin Stillhammer
e4c1a1723b Debug windows directory 2024-08-24 09:12:22 +02:00
Kevin Stillhammer
fd3ca5dc10 Cache correct dir 2024-08-24 00:45:44 +02:00
Kevin Stillhammer
eb355a21cb more debug logs 2024-08-24 00:40:34 +02:00
Kevin Stillhammer
e1b0f50f21 Remove unused path 2024-08-24 00:28:50 +02:00
Kevin Stillhammer
07977d064c Automatically create download dir 2024-08-24 00:27:50 +02:00
Kevin Stillhammer
67efd41074 Cache in tool cache 2024-08-24 00:14:50 +02:00
Kevin Stillhammer
18498fc78f Initial commit 2024-08-23 23:58:26 +02:00