Kevin Stillhammer
6a26ee8850
Debug macos python version
2024-12-26 17:04:56 +01:00
Kevin Stillhammer and GitHub
887a942a15
Set VIRTUAL_ENV to .venv instead of .venv/bin ( #210 )
...
Closes : #209
2024-12-23 17:45:21 +01:00
Kevin Stillhammer and GitHub
d174a24c07
Align use of actions/setup-python with uv docu ( #207 )
...
Closes : #197
2024-12-22 11:13:40 +00:00
Kevin Stillhammer and GitHub
12c852e6ba
Remove uv version from cache key ( #206 )
...
This approach was copied from setup-rye but uv now has the capability to
determine if a cache version is compatible. By removing it we will less
frequently invalidate the cache and thus save bandwidth
Closes : #203
2024-12-22 12:12:29 +01:00
Kevin Stillhammer and GitHub
180f8b4439
Fix wrong cacheDependencyPathHash ( #201 )
...
Introduced in https://github.com/astral-sh/setup-uv/pull/200 and not
caught because the test is not needed for automerge to pass
2024-12-20 11:42:38 +01:00
Kevin Stillhammer and GitHub
e3fb95a689
Warn instead of fail for no-dependency-glob ( #200 )
...
Closes : #199
2024-12-20 10:32:52 +00:00
Kevin Stillhammer and GitHub
dd578776bb
Auto activate venv when python-version is set ( #194 )
...
Closes : #124
2024-12-20 08:24:43 +01:00
Kevin Stillhammer and GitHub
856099c958
Add python version to cache key ( #187 )
...
Closes : #182
2024-12-13 20:52:12 +01:00
Kevin Stillhammer and GitHub
e3017a763c
Default to enable-cache: true on GitHub hosted runners ( #193 )
...
Closes : #54
2024-12-13 20:12:42 +01:00
Kevin Stillhammer and GitHub
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
Kevin Stillhammer and GitHub
f064c84ddb
Update dependencies ( #186 )
2024-12-08 16:55:10 +00:00
Kevin Stillhammer and GitHub
be4207d29e
Add **/requirements*.txt to default cache-dependency-glob ( #185 )
...
Contributes to: https://github.com/astral-sh/setup-uv/issues/181
2024-12-08 17:51:13 +01:00
Kevin Stillhammer and GitHub
bdcda7e77f
Add hint why cache-dependency-glob fails ( #184 )
...
Make it clear which input can be used to solve the error
Contributes to: #181
2024-12-08 11:09:18 +01:00
Kevin Stillhammer and GitHub
8bdd012be5
Add test for python-version ( #177 )
2024-11-29 09:32:51 +01:00
Kevin Stillhammer and GitHub
5f42d5af6c
Replace v3 with v4 in README.md ( #176 )
2024-11-28 20:49:05 +00:00
Kevin Stillhammer and GitHub
26ddfef6e1
Add matrix example for python-version ( #175 )
2024-11-28 20:46:52 +00:00
Kevin Stillhammer and GitHub
ee4fa33003
Add input python-version ( #174 )
2024-11-28 20:41:37 +00:00
Kevin Stillhammer and GitHub
420915557e
Reduce test matrices ( #173 )
...
Basic functionality for the different OS is tested in
`test-latest-version` Everything else is not OS dependent
2024-11-28 21:07:46 +01:00
Kevin Stillhammer and GitHub
196fe5f098
Speed up updating known checksums ( #166 )
...
Before downloading the checksum file from the releases, check if we
already know that version.
2024-11-25 09:18:03 +01:00
Kevin Stillhammer and GitHub
49d8a3d9a8
Clarify caching will only fail when enabled and nothing to cache ( #165 )
2024-11-23 16:24:42 +00:00
Kevin Stillhammer and GitHub
d8db0a86d3
Change some formulations in README.md ( #164 )
2024-11-23 15:47:24 +00:00
Kevin Stillhammer and GitHub
ed171c292b
Fail when cache local path does not exist when trying to cache ( #163 )
...
Can be disabled by setting `ignore-nothing-to-cache: true`
2024-11-23 16:30:54 +01:00
Kevin Stillhammer and GitHub
691a091485
Remove working dir from cacheDependencyGlob error message ( #162 )
...
Since https://github.com/astral-sh/setup-uv/pull/160 we allow searching
everywhere
2024-11-23 11:03:08 +00:00
Kevin Stillhammer and GitHub
9b71657bb2
Add comment to clarify process.exit(0) ( #161 )
...
Copied from https://github.com/actions/cache/pull/1217
2024-11-23 10:58:21 +00:00
Kevin Stillhammer and GitHub
caf0cab7a6
Expand TILDE (~) in path inputs ( #160 )
...
Closes : #159
2024-11-23 09:21:51 +01:00
Kevin Stillhammer and GitHub
2e657c127d
Avoid leftover files by using temp dir ( #150 )
...
Fixes : #149
2024-11-06 12:52:46 +01:00
Kevin Stillhammer and GitHub
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
Kevin Stillhammer and GitHub
f3bcaebff5
Update deps ( #121 )
...
Fixes: https://github.com/astral-sh/setup-uv/issues/119
2024-10-15 11:33:59 +00:00
Kevin Stillhammer and GitHub
8c3a35e468
Only log checksum is valid when it really is ( #97 )
2024-09-21 19:10:22 +00:00
Kevin Stillhammer and GitHub
abac0ce7b0
Use runner label selfhosted-ubuntu-arm64 ( #96 )
...
Replaces oracle-aarch64 to better express what the runner is used for
2024-09-21 20:19:02 +02:00
Kevin Stillhammer and GitHub
aeb46491c7
Set tool(-bin) dir and add to PATH ( #87 )
...
Fixes : #83
Fixes : #60
2024-09-21 10:14:36 +02:00
Kevin Stillhammer and GitHub
8205eab75b
Update version in README from v2 to v3 ( #85 )
2024-09-18 09:34:56 +00:00
Kevin Stillhammer and GitHub
ce0062aac7
Add support for semver version ranges ( #82 )
...
Closes : #38
2024-09-18 09:29:09 +00:00
Kevin Stillhammer and GitHub
79fb68ebfe
Fix prettier destroying markdown NOTE ( #80 )
2024-09-17 08:27:37 +02:00
Kevin Stillhammer and GitHub
9f1f1fece2
Run prettier ( #78 )
2024-09-16 19:33:16 +00:00
Kevin Stillhammer and GitHub
8d65000ec9
Set the cache-dependency-glob default to **/uv.lock ( #77 )
...
We should aim for a solution with sane defaults that work as most users
would expect it.
The current default leads to a cache that is never invalidated and thus
never updated.
This also mirrors the default behaviors for setup-python which use
`**/requirements.txt`, `**/Pipfile.lock` or `**/poetry.lock`
Also make it clear that the uv cache on the filesystem can be uploaded to the GitHub Actions cache, but they are distinct things.
Also make it clear that the local cache path can be changed without using `enable-cache: true`
2024-09-16 21:08:44 +02:00
Kevin Stillhammer and GitHub
4456fa154a
Add .idea files to gitignore ( #76 )
2024-09-16 13:05:47 +00:00
Kevin Stillhammer and GitHub
b463f5b8ca
rename utils/utils.ts to constants.ts ( #59 )
2024-09-07 12:13:50 +00:00
Kevin Stillhammer and GitHub
417c97acee
Use D:\a\_tmp\setup-uv-cache as default cacheLocalPath on Windows ( #57 )
...
Fixes : #52
2024-09-07 14:11:25 +02:00
Kevin Stillhammer and GitHub
d9a2b6b6fa
Support a list of cache-dependency-glob ( #41 )
...
Closes : #40
Because of build conflics (forgot to run `npm i` after pulling) I
deleted the `dist`folder to start fresh. Turns out that it still
contained the source maps from the very first commit. I removed the
argument to generate those a long time ago
2024-09-06 14:44:31 +02:00
Kevin Stillhammer and GitHub
67736b0f01
Always run check-dist check ( #53 )
...
Currently we mark it as a required check and thus prevent automatic PR
merges when only markdown files are contained in the PR
2024-09-06 13:07:34 +02:00
Kevin Stillhammer and GitHub
79643936e1
Run test build only on ubuntu-latest ( #51 )
...
It is unnecessary to test this on several OS. This is done by the actual
action tests in other jobs.
2024-09-06 09:19:26 +02:00
Kevin Stillhammer and GitHub
663d8f7082
Fix typo "relaying" in README.md ( #47 )
2024-09-05 09:54:40 -04:00
Kevin Stillhammer and GitHub
b3cf8231d5
Do not change default version on known checksum update ( #39 )
2024-09-05 13:26:17 +00:00
Kevin Stillhammer and GitHub
e4d1d0eef8
Rename repo org in examples and urls ( #33 )
2024-09-04 20:09:26 +02:00
Kevin Stillhammer and GitHub
6a540e2907
Add default-version-update category ( #24 )
...
This way a default version update is not a bugfix in release notes
2024-09-02 15:58:05 +02:00
Kevin Stillhammer and GitHub
4e90b426ca
Add faq on how to install python ( #17 )
2024-08-28 13:28:02 +02:00
Kevin Stillhammer and GitHub
c69e1d6616
Add link to example workflow ( #7 )
2024-08-25 16:21:20 +02:00
Kevin Stillhammer
332ac35295
Prune cache before saving
2024-08-24 10:08:12 +02:00
Kevin Stillhammer
6c37ad0dd4
Update deps
2024-08-24 09:28:20 +02:00
Kevin Stillhammer
4b677dce24
Create no-dependency-glob cache key
2024-08-24 09:23:57 +02: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
4203354a33
Compute correct cacheDependencyPathHash
2024-08-24 09:14:37 +02:00
Kevin Stillhammer
e4c1a1723b
Debug windows directory
2024-08-24 09:12:22 +02:00
Kevin Stillhammer
5654f20383
Extract correct dir for latest
2024-08-24 09:01:13 +02:00
Kevin Stillhammer
4bab96ca10
Use latest uv test versions
2024-08-24 00:48:09 +02:00
Kevin Stillhammer
de7c6e73c0
Remove debug logs
2024-08-24 00:46:39 +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
65e8a8ce38
debug tool cache content
2024-08-24 00:31:50 +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
dccd08dfe5
Add table of contents
2024-08-24 00:03:11 +02:00
Kevin Stillhammer
18498fc78f
Initial commit
2024-08-23 23:58:26 +02:00