Commit Graph

21 Commits

Author SHA1 Message Date
Kevin Stillhammer
ee4fa33003
Add input python-version (#174) 2024-11-28 20:41:37 +00:00
Kevin Stillhammer
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
Merlin
3b9817b1bf
feat: add option to disable cache pruning (#134)
This PR adds an input to control whether or not the cache is pruned
before saving.

Closes #122

---------

Co-authored-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
Co-authored-by: Charlie Marsh <crmarsh416@gmail.com>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2024-10-25 14:11:32 +02:00
Kevin Stillhammer
aeb46491c7
Set tool(-bin) dir and add to PATH (#87)
Fixes: #83
Fixes: #60
2024-09-21 10:14:36 +02:00
github-actions[bot]
8e09161b4b
chore: update known checksums for 0.4.11 (#84)
chore: update known checksums for 0.4.11

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-18 07:23:29 +00:00
Charlie Marsh
223591d242
Tweak the action branding (#49) 2024-09-17 23:20:15 -04:00
Kevin Stillhammer
9f1f1fece2
Run prettier (#78) 2024-09-16 19:33:16 +00:00
Kevin Stillhammer
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
Lukas Burgholzer
49df72dfcf
🚸 use GitHub token by default (#61)
This PR adjusts the action so that it is no longer necessary to
explicitly specify the GitHub token to circumvent the API rate limit.
To this end, it simply passes the repository's GitHub token (available
via `${{ github.token }}`) as a default for the `github_token` action
input.

This is similar to how this is handled in, e.g.,
https://github.com/peter-evans/create-pull-request; specifically
[here](5354f85616/action.yml (L4-L6)).
2024-09-11 08:18:23 +00:00
Kevin Stillhammer
417c97acee
Use D:\a\_tmp\setup-uv-cache as default cacheLocalPath on Windows (#57)
Fixes: #52
2024-09-07 14:11:25 +02:00
Charlie Marsh
bfebbf80cb
Change default to "latest" (#37)
## Summary

Also did some light editing of the README.
2024-09-05 09:24:32 -04: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
Charlie Marsh
0fa3b93f6e
Run Prettier over Markdown and YAML files (#35)
## Summary

Partly personal preference, but mostly to align with other Astral
projects.
2024-09-04 21:14:10 +00:00
github-actions[bot]
162b8acf39
chore: update checksums (#29)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-04 07:53:44 +02:00
github-actions[bot]
4b68ead320
chore: update checksums (#25)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-03 08:08:19 +02:00
github-actions[bot]
b0c1123987
chore: update checksums (#21)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-01 20:21:25 +02:00
github-actions[bot]
b038954f55
chore: update checksums (#20)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-08-30 16:58:12 +02:00
github-actions[bot]
606dd5e44e
chore: update checksums (#19)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-08-30 13:20:47 +02:00
github-actions[bot]
e9305af4bc
chore: update checksums (#14)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-08-28 08:36:00 +02:00
github-actions[bot]
19a0b38226
chore: update checksums (#6)
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-08-25 14:44:51 +02:00
Kevin Stillhammer
18498fc78f
Initial commit 2024-08-23 23:58:26 +02:00