Skip to content

Commit 7b249cc

Browse files
Setup python with uv
1 parent dec7a80 commit 7b249cc

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v5
21-
- name: "Set up Python"
22-
uses: actions/setup-python@v5
21+
- name: Install uv and set the Python version
22+
uses: astral-sh/setup-uv@v6
2323
with:
2424
python-version: ${{ matrix.python-version }}
25-
- name: Install uv
26-
uses: astral-sh/setup-uv@v6
2725
- name: Install dependencies
2826
run: |
2927
uv sync --locked --all-extras --dev

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,10 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v5
1818
- name: "Set up Python"
19-
uses: actions/setup-python@v5
19+
- name: Install uv and set the Python version
20+
uses: astral-sh/setup-uv@v6
2021
with:
2122
python-version: 3.13
22-
- name: Install uv
23-
uses: astral-sh/setup-uv@v6
2423
- name: Build
2524
run: uv build
2625
- name: Publish package distributions to PyPI

0 commit comments

Comments
 (0)