@@ -24,7 +24,7 @@ The computed cache key is available as the `cache-key` output:
2424``` yaml
2525- name : Setup uv
2626 id : setup-uv
27- uses : astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
27+ uses : astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
2828 with :
2929 enable-cache : true
3030- name : Print cache key
@@ -54,7 +54,7 @@ You can optionally define a custom cache key suffix.
5454` ` ` yaml
5555- name: Enable caching and define a custom cache key suffix
5656 id: setup-uv
57- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
57+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
5858 with:
5959 enable-cache: true
6060 cache-suffix: "optional-suffix"
@@ -93,15 +93,15 @@ changes. If you use relative paths, they are relative to the working directory.
9393
9494` ` ` yaml
9595- name: Define a cache dependency glob
96- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
96+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
9797 with:
9898 enable-cache: true
9999 cache-dependency-glob: "**/pyproject.toml"
100100` ` `
101101
102102` ` ` yaml
103103- name: Define a list of cache dependency globs
104- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
104+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
105105 with:
106106 enable-cache: true
107107 cache-dependency-glob: |
@@ -111,15 +111,15 @@ changes. If you use relative paths, they are relative to the working directory.
111111
112112` ` ` yaml
113113- name: Define an absolute cache dependency glob
114- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
114+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
115115 with:
116116 enable-cache: true
117117 cache-dependency-glob: "/tmp/my-folder/requirements*.txt"
118118` ` `
119119
120120` ` ` yaml
121121- name: Never invalidate the cache
122- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
122+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
123123 with:
124124 enable-cache: true
125125 cache-dependency-glob: ""
@@ -132,7 +132,7 @@ By default, the cache will be restored.
132132
133133` ` ` yaml
134134- name: Don't restore an existing cache
135- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
135+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
136136 with:
137137 enable-cache: true
138138 restore-cache: false
@@ -148,7 +148,7 @@ these events. Set `save-cache: true` to save the cache for all events.
148148
149149` ` ` yaml
150150- name: Don't save the cache after the run
151- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
151+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
152152 with:
153153 enable-cache: true
154154 save-cache: false
@@ -174,7 +174,7 @@ It defaults to `setup-uv-cache` in the `TMP` dir, `D:\a\_temp\setup-uv-cache` on
174174
175175` ` ` yaml
176176- name: Define a custom uv cache path
177- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
177+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
178178 with:
179179 cache-local-path: "/path/to/cache"
180180` ` `
@@ -191,7 +191,7 @@ If you want to prune the cache before saving it, enable cache pruning with the `
191191
192192` ` ` yaml
193193- name: Prune the cache before saving it
194- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
194+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
195195 with:
196196 enable-cache: true
197197 prune-cache: true
@@ -210,7 +210,7 @@ To force managed Python installs, set `UV_PYTHON_PREFERENCE=only-managed`.
210210
211211` ` ` yaml
212212- name: Cache Python installs
213- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
213+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
214214 with:
215215 enable-cache: true
216216 cache-python: true
@@ -228,7 +228,7 @@ If you want to ignore this, set the `ignore-nothing-to-cache` input to `true`.
228228
229229` ` ` yaml
230230- name: Ignore nothing to cache
231- uses: astral-sh/setup-uv@18d369b23da25a81e9458561248e1aafff6a70fa # v10.3.1
231+ uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
232232 with:
233233 enable-cache: true
234234 ignore-nothing-to-cache: true
0 commit comments