Skip to content

Commit 47015b8

Browse files
oschwaldclaude
andcommitted
Install uv with mise in CI
Replace astral-sh/setup-uv with jdx/mise-action. CI now runs the uv version in mise.lock, which is the version that local development uses. The release workflow disables the mise cache, as it did for the setup-uv cache (zizmor cache-poisoning). Dependabot does not update mise.lock. To update uv, run `mise upgrade uv` and commit mise.lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent d8203bf commit 47015b8

4 files changed

Lines changed: 49 additions & 5 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ jobs:
2222
submodules: true
2323
persist-credentials: false
2424

25-
- name: Install the latest version of uv
26-
uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
25+
- name: Install uv
26+
uses: jdx/mise-action@82a612c5ab8bcda7cc5db6b7e81a8e7584c3dc6e # v5.2.3
2727
with:
28+
install_args: uv
2829
# Disable caching in the release workflow (zizmor cache-poisoning).
29-
enable-cache: false
30+
cache: false
3031

3132
- name: Build
3233
run: uv build

‎.github/workflows/test.yml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
2222
with:
2323
submodules: true
2424
persist-credentials: false
25-
- name: Install the latest version of uv
26-
uses: astral-sh/setup-uv@07a047e608db84b3d8c06cd9a7c7dcc9c355c18e # v10.3.2
25+
- name: Install uv
26+
uses: jdx/mise-action@82a612c5ab8bcda7cc5db6b7e81a8e7584c3dc6e # v5.2.3
27+
with:
28+
install_args: uv
2729
- name: Install tox
2830
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv --with tox-gh
2931
- name: Install Python

‎mise.lock‎

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎mise.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ lockfile = true
33

44
[tools]
55
lychee = "latest"
6+
uv = "latest"
67

78
[tasks.check-links]
89
description = "Check links with lychee"

0 commit comments

Comments
 (0)