Skip to content

Commit fed227e

Browse files
committed
Fix the publishing workflow to use uv
1 parent acbd72a commit fed227e

File tree

3 files changed

+51
-4
lines changed

3 files changed

+51
-4
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ jobs:
2121
with:
2222
python-version: '3.11'
2323

24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
26+
2427
- name: Install dependencies
2528
run: |
26-
python -m pip install --upgrade pip
27-
python -m pip install flit
28-
python -m flit install --symlink
29+
uv sync --extra=dev
2930
3031
- name: Build
31-
run: python -m flit build
32+
run: uv run python -m flit build
3233

3334
- uses: actions/upload-artifact@v4
3435
with:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ mrml = [
5959
dev = [
6060
"wagtail-newsletter[testing,docs,mailchimp,mrml]",
6161
"psycopg",
62+
"flit",
6263
]
6364

6465
[project.urls]

uv.lock

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

0 commit comments

Comments
 (0)