Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Bump the actions group with 2 updates (#207)
Bumps the actions group with 2 updates: [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish). Updates `astral-sh/setup-uv` from 3 to 4 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/astral-sh/setup-uv/releases">astral-sh/setup-uv's releases</a>.</em></p> <blockquote> <h2>v4.0.0 🌈 Fail when cache local path does not exist when trying to cache</h2> <h1>🚨 Breaking change 🚨</h1> <p>By default, the action will now fail if caching is enabled but there is nothing to upload (the uv cache directory does not exist). If you want to ignore this, set the <code>ignore-nothing-to-cache</code> input to <code>true</code>.</p> <pre lang="yaml"><code>- name: Ignore nothing to cache uses: astral-sh/setup-uv@v3 with: enable-cache: true ignore-nothing-to-cache: true </code></pre> <hr /> <p>In previous releases only an error got logged when saving the cache failed. In most cases users did not realize something was wrong with their config.</p> <!-- raw HTML omitted --> <h2>Changes</h2> <h2>🚨 Breaking changes</h2> <ul> <li>Fail when cache local path does not exist when trying to cache <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li> </ul> <h2>🐛 Bug fixes</h2> <ul> <li>Fail when cache local path does not exist when trying to cache <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/163">#163</a>)</li> <li>Remove working dir from cacheDependencyGlob error message <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/162">#162</a>)</li> </ul> <h2>📚 Documentation</h2> <ul> <li>Change some formulations in README.md <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/164">#164</a>)</li> <li>Add comment to clarify process.exit(0) <a href="https://github.com/eifinger"><code>@eifinger</code></a> (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/161">#161</a>)</li> </ul> <h2>v3.2.4 🌈 Expand <code>~</code> tilde in input paths</h2> <p>This release adds support for expanding the <code>~</code> character to the user's home directory for the following inputs:</p> <ul> <li><code>cache-local-path</code></li> <li><code>tool-dir</code></li> <li><code>tool-bin-dir</code></li> <li><code>cache-dependency-glob</code></li> </ul> <pre lang="yaml"><code>- name: Expand the tilde character uses: astral-sh/setup-uv@v3 with: cache-local-path: "~/path/to/cache" </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/astral-sh/setup-uv/commit/38f3f104447c67c051c4a08e39b64a148898af3a"><code>38f3f10</code></a> Resolve latest version instead of downloading latest release (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/178">#178</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/8bdd012be50ea391c968b486f6510cfe82922108"><code>8bdd012</code></a> Add test for python-version (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/177">#177</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/5f42d5af6c403a722299fda36d451c39f302a433"><code>5f42d5a</code></a> Replace v3 with v4 in README.md (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/176">#176</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/26ddfef6e1ae64783f1f3b5227362e4c024732cf"><code>26ddfef</code></a> Add matrix example for python-version (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/175">#175</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/ee4fa33003f3367d2ce38897d73042bd77c51a3c"><code>ee4fa33</code></a> Add input python-version (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/174">#174</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/420915557ece42591269f71651dc30ec0389261c"><code>4209155</code></a> Reduce test matrices (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/173">#173</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/9839fa9fb5f32f6d3d5571d8070a1c2964e89e6d"><code>9839fa9</code></a> chore: update known checksums for 0.5.5 (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/170">#170</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/196fe5f09868e07f4162735fb2456ee36cc1da1d"><code>196fe5f</code></a> Speed up updating known checksums (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/166">#166</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/49d8a3d9a881f1ce1e20a028ee845acbab45fbfb"><code>49d8a3d</code></a> Clarify caching will only fail when enabled and nothing to cache (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/165">#165</a>)</li> <li><a href="https://github.com/astral-sh/setup-uv/commit/d8db0a86d3d88f3017a4e6b8a1e2b234e7a0a1b5"><code>d8db0a8</code></a> Change some formulations in README.md (<a href="https://redirect.github.com/astral-sh/setup-uv/issues/164">#164</a>)</li> <li>Additional commits viewable in <a href="https://github.com/astral-sh/setup-uv/compare/v3...v4">compare view</a></li> </ul> </details> <br /> Updates `pypa/gh-action-pypi-publish` from 1.11.0 to 1.12.2 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pypa/gh-action-pypi-publish/releases">pypa/gh-action-pypi-publish's releases</a>.</em></p> <blockquote> <h2>v1.12.2</h2> <h2>🐛 What's Fixed</h2> <p>The fix for signing legacy zip sdists turned out to be incomplete, so <a href="https://github.com/woodruffw"><code>@woodruffw</code></a><a href="https://github.com/sponsors/woodruffw">💰</a> promptly produced another follow-up that updated <code>pypi-attestations</code> from v0.0.13 to v0.0.15 in <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/297">#297</a>. This is the only change since the previous release.</p> <p><strong>🪞 Full Diff</strong>: <a href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.1...v1.12.2">https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.1...v1.12.2</a></p> <p><strong>🧔♂️ Release Manager:</strong> <a href="https://github.com/sponsors/webknjaz"><code>@webknjaz</code></a> <a href="https://stand-with-ukraine.pp.ua">🇺🇦</a></p> <h2>v1.12.1</h2> <h2>🐛 What's Fixed</h2> <p>Version v1.12.0 hit several rare corner cases we never considered fully supported, and this release fixes a few of those. In <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/294">#294</a>, <a href="https://github.com/webknjaz"><code>@webknjaz</code></a><a href="https://github.com/sponsors/webknjaz">💰</a> improved the self-hosted runner experience by pre-installing Python if it's not there, and with <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/293">#293</a> the ability to use the action on GitHub Enterprise instances has been restored. The latter should've also fixed the ability to invoke <a href="https://github.com/marketplace/actions/pypi-publish"><code>pypi-publish</code></a> from nested in-repo composite actions — another exotic use-case that was never tested in our CI. <a href="https://github.com/woodruffw"><code>@woodruffw</code></a><a href="https://github.com/sponsors/woodruffw">💰</a> also managed to squeeze in a last-minute fix for detecting legacy <code>.zip</code> sdists while producing attestations via <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/295">#295</a>.</p> <p><strong>🪞 Full Diff</strong>: <a href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1">https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.0...v1.12.1</a></p> <p><strong>🧔♂️ Release Manager:</strong> <a href="https://github.com/sponsors/webknjaz"><code>@webknjaz</code></a> <a href="https://stand-with-ukraine.pp.ua">🇺🇦</a></p> <p><strong>🙏 Huge Thanks</strong> to all the bug reporters for posting the logs, helping inspect the problems and verify the regression fixes!</p> <h2>v1.12.0</h2> <h2>⚡️ Why Should You Update?</h2> <p>This is a minor version bump, but it does not add any new user-facing interfaces. Still, I felt like it should not be a patch-release: this update brings <em>significant changes</em> to the action invocation and internal release process.</p> <p>Previously, each invocation of <a href="https://github.com/marketplace/actions/pypi-publish"><code>pypi-publish</code></a> required building a container image in the invoking CI job. This was inefficient and added about 30 seconds to the publishing jobs at their startup just to build the container.</p> <p>I wanted to improve this for over three years (<a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/58">#58</a>) and a little over half a year ago <a href="https://github.com/br3ndonland"><code>@br3ndonland</code></a><a href="https://github.com/sponsors/br3ndonland">💰</a> stepped up and offered a very comprehensive solution to the limitation I was hoping to overcome: <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a>.</p> <p>Going forward, I'm going to pre-build per-version containers prior to cutting each release. And the action invocations will just pull the image from GitHub Container registry.</p> <blockquote> <p>[!CAUTION] Known quirks:</p> <ul> <li>This seems to not work on self-hosted runners without a <code>python</code> executable: <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/289">#289</a>. The workaround could be installing it prior to running the action.</li> <li><del>Pinning to commit hashes does not work: <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/290">#290</a>. Workaround: postpone updating until it's fixed or switch to Git tags for now. Subscribe to that issue to follow the progress.</del> <em>UPD:</em> This was an issue during the first 12 hours post release and it has been addressed upstream by publishing a commit SHA-tagged image for the release on Nov 12, 2024 at 10:27 UTC+1.</li> <li>Calling <code>pypi-publish</code> from another nested repo-local composite action might be breaking file paths: <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/291">#291</a>. Workaround: postpone updating until it's fixed. Subscribe to that issue to follow the progress.</li> <li>Running within GitHub Enterprise fails on the action repo clone: <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/292">#292</a>. Workaround: postpone updating until it's fixed. Subscribe to that issue to follow the progress.</li> </ul> </blockquote> <p><strong>🪞 Full Diff</strong>: <a href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0">https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.0</a></p> <p><strong>🧔♂️ Release Manager:</strong> <a href="https://github.com/sponsors/webknjaz"><code>@webknjaz 🇺🇦</code></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/15c56dba361d8335944d31a2ecd17d700fc7bcbc"><code>15c56db</code></a> Merge pull request <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/297">#297</a> from trail-of-forks/ww/bump-pypi-attestations</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/fe8d1484ba76730fec68a234daa6dbe243aa2af0"><code>fe8d148</code></a> requirements: bump pypi-attestations to 0.0.15</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/1f5d4ec244f65dce93685ee3e98e77123f090866"><code>1f5d4ec</code></a> Merge pull request <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/295">#295</a> from trail-of-forks/ww/fix-sdist-collection</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/fec2f0c0cea943a654e4c65b547300a042e8af56"><code>fec2f0c</code></a> attestations: collect *.zip sdists as well</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/a8b73a6d88e1c2ae7ee7bf90b8ebba800a10f203"><code>a8b73a6</code></a> Merge pull request <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/294">#294</a> from webknjaz/bugfixes/optional-python</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/9b4dfb0c84502497080469ffeb5e75f9c5cce5c2"><code>9b4dfb0</code></a> ✨ Pre-install Python if there's none</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/0a87186d5f9e2303ed3c19e0fdd59abe52a28bb7"><code>0a87186</code></a> Merge pull request <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/293">#293</a> from webknjaz/bugfixes/uncheckout-intermediate-action</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/dfcfeca43e4ad1597a1a8bacfca40b25ad821f61"><code>dfcfeca</code></a> 🧪 Use prefetched action to make trampoline</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/0d02f372c36f840ef9312c8ce9d8f06d74a8a521"><code>0d02f37</code></a> 📝💅 Update the CI/CD badge in README</li> <li><a href="https://github.com/pypa/gh-action-pypi-publish/commit/61da13deb5f5124fb1536194f82ed3d9bbc7e8f3"><code>61da13d</code></a> Merge pull request <a href="https://redirect.github.com/pypa/gh-action-pypi-publish/issues/230">#230</a> from br3ndonland/ghcr</li> <li>Additional commits viewable in <a href="https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.2">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information