Skip to content

Commit 0b23e62

Browse files
committed
Use uv in the workflow
1 parent b32b9e3 commit 0b23e62

1 file changed

Lines changed: 4 additions & 18 deletions

File tree

.github/workflows/template-check-version.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,16 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23+
- name: Install uv
24+
uses: astral-sh/setup-uv@v5
25+
2326
- name: Add dummy GitHub credentials
2427
run: |
2528
git config --global user.name Copier update
2629
git config --global user.email check@dummy.bot.com
2730
28-
- name: Setup pixi
29-
uses: prefix-dev/setup-pixi@v0.8.8
30-
with:
31-
cache: true
32-
pixi-bin-path: ${{ runner.temp }}/bin/pixi
33-
pixi-version: v0.44.0
34-
run-install: true
35-
post-cleanup: true
36-
activate-environment: true
37-
38-
# Stash hides modifications to pixi.lock / pixi.toml caused by adding copier
39-
- name: Setup copier
40-
run: |
41-
pixi add copier
42-
git stash
43-
git stash clear
44-
4531
- name: Run copier update
46-
run: copier update --skip-answered --defaults
32+
run: uvx copier update --skip-answered --defaults
4733

4834
- name: Wait a bit for copier cleanups
4935
run: sleep 10s

0 commit comments

Comments
 (0)