Skip to content

Commit e7b0ea7

Browse files
committed
Replace mamba with pixi and avoid local environment installation
1 parent 77616f1 commit e7b0ea7

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

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

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

23-
- uses: mamba-org/setup-micromamba@v2
24-
with:
25-
environment-name: ${{ github.event.repository.name }}-copier
26-
create-args: copier python=3.12
27-
post-cleanup: all
28-
cache-environment: true
29-
3023
- name: Add dummy GitHub credentials
3124
run: |
3225
git config --global user.name Copier update
3326
git config --global user.email check@dummy.bot.com
3427
28+
- uses: prefix-dev/setup-pixi@v0.8.8
29+
with:
30+
cache: true
31+
pixi-bin-path: ${{ runner.temp }}/bin/pixi
32+
pixi-version: v0.44.0
33+
run-install: false
34+
post-cleanup: true
35+
36+
- name: Add copier
37+
run: pixi global install copier
38+
3539
- name: Run copier update
3640
run: copier update --skip-answered --defaults
3741

0 commit comments

Comments
 (0)