Skip to content

Commit 5cedad3

Browse files
authored
ci: migrate release pipeline to uv (#49)
1 parent 22f669d commit 5cedad3

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@ jobs:
1313
# IMPORTANT: this permission is mandatory for trusted publishing
1414
id-token: write
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
17+
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v5
20+
with:
21+
enable-cache: true
1722

1823
- name: Setup Python 3.13
19-
uses: actions/setup-python@v4
24+
uses: actions/setup-python@v5
2025
with:
2126
python-version: '3.13'
2227
architecture: 'x64'
2328

24-
- name: Install hatch
25-
run: pip install hatch
26-
2729
- name: Build
28-
run: hatch build
30+
run: uv build
2931

3032
- name: Publish to PyPI
3133
uses: pypa/gh-action-pypi-publish@release/v1

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ dev = [
5858
"simdec[doc,test,dashboard]",
5959
"watchfiles",
6060
"pre-commit",
61-
"hatch",
6261
]
6362

6463
[project.urls]

0 commit comments

Comments
 (0)