Skip to content

Commit 671c11d

Browse files
authored
fix: uv should sync from lockfile before build (#143)
1 parent 07e6b72 commit 671c11d

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/pypi_release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,12 @@ jobs:
1212
- uses: actions/checkout@v4
1313
with:
1414
persist-credentials: false
15-
- name: Set up Python
16-
uses: actions/setup-python@v5
17-
with:
18-
python-version: "3.x"
1915
- name: Install uv
20-
run: >-
21-
curl -LsSf https://astral.sh/uv/install.sh | sh &&
22-
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
16+
uses: astral-sh/setup-uv@v5
17+
- name: Set up Python
18+
run: uv python install
19+
- name: Install the project
20+
run: uv sync --locked --all-extras --dev
2321
- name: Build a binary wheel and a source tarball
2422
run: uv build
2523
- name: Store the distribution packages

0 commit comments

Comments
 (0)