Skip to content

Commit efc61a3

Browse files
committed
Use UV in release pipeline
1 parent e5cc8cb commit efc61a3

File tree

3 files changed

+10
-17
lines changed

3 files changed

+10
-17
lines changed

.github/workflows/release.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,23 +75,16 @@ jobs:
7575
- name: Set up Python
7676
uses: actions/setup-python@v5
7777
with:
78-
python-version: "3.12"
78+
python-version: "3.11"
7979

80-
- name: Install Poetry
81-
run: |
82-
curl -sSL https://install.python-poetry.org | python3 -
83-
echo "$HOME/.local/bin" >> $GITHUB_PATH
84-
85-
- name: Set project version with Poetry
86-
run: |
87-
poetry version ${{ needs.details.outputs.new_version }}
88-
89-
- name: Install dependencies
90-
run: poetry install --sync --no-interaction
80+
- name: Install uv
81+
uses: astral-sh/setup-uv@v3
82+
with:
83+
enable-cache: true
84+
cache-dependency-glob: uv.lock
9185

92-
- name: Build source and wheel distribution
93-
run: |
94-
poetry build
86+
- name: Build
87+
run: uv build
9588

9689
- name: Upload artifacts
9790
uses: actions/upload-artifact@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "polarsteps-data-parser"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
description = "Parse and extract data from the data export of travel tracking app Polarsteps."
55
authors = [{ name = "Niek van Leeuwen", email = "[email protected]" }]
66
requires-python = "~=3.11"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)