Skip to content

Commit 26b6aa3

Browse files
committed
Switch to official setup-uv action, consolidate with setup-python
1 parent a9c442f commit 26b6aa3

3 files changed

Lines changed: 5 additions & 26 deletions

File tree

.github/workflows/check_pr.yaml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,10 @@ jobs:
8282
if: ${{ steps.restore-issues.outputs.cache-matched-key == '' }}
8383
with:
8484
persist-credentials: false
85-
- uses: actions/setup-python@v5
85+
- uses: astral-sh/setup-uv@v5
8686
if: ${{ steps.restore-issues.outputs.cache-matched-key == '' }}
8787
with:
8888
python-version: '3.13'
89-
- uses: yezz123/setup-uv@v4.1
90-
if: ${{ steps.restore-issues.outputs.cache-matched-key == '' }}
91-
with:
92-
uv-venv: .venv
93-
uv-cache: true
9489

9590
- name: Fetch issues
9691
# cache-hit is false for partial matches
@@ -120,13 +115,9 @@ jobs:
120115
- uses: actions/checkout@v4
121116
with:
122117
persist-credentials: false
123-
- uses: actions/setup-python@v5
118+
- uses: astral-sh/setup-uv@v5
124119
with:
125120
python-version: '3.13'
126-
- uses: yezz123/setup-uv@v4.1
127-
with:
128-
uv-venv: .venv
129-
uv-cache: true
130121

131122
- uses: actions/download-artifact@v4
132123
with:
@@ -169,13 +160,9 @@ jobs:
169160
- uses: actions/checkout@v4
170161
with:
171162
persist-credentials: false
172-
- uses: actions/setup-python@v5
163+
- uses: astral-sh/setup-uv@v5
173164
with:
174165
python-version: '3.13'
175-
- uses: yezz123/setup-uv@v4.1
176-
with:
177-
uv-venv: .venv
178-
uv-cache: true
179166

180167
- uses: actions/download-artifact@v4
181168
with:

.github/workflows/download_issues.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
persist-credentials: false
18-
- uses: actions/setup-python@v5
18+
- uses: astral-sh/setup-uv@v5
1919
with:
2020
python-version: '3.13'
21-
- uses: yezz123/setup-uv@v4.1
22-
with:
23-
uv-venv: .venv
24-
uv-cache: true
2521

2622
- uses: actions/cache@v4
2723
with:

.github/workflows/lint.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,9 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
persist-credentials: false
18-
- uses: actions/setup-python@v5
18+
- uses: astral-sh/setup-uv@v5
1919
with:
2020
python-version: '3.13'
21-
- uses: yezz123/setup-uv@v4.1
22-
with:
23-
uv-venv: .venv
24-
uv-cache: true
2521

2622
- name: install project
2723
run: |

0 commit comments

Comments
 (0)