Skip to content

Commit 78bfb58

Browse files
Fix dirty copier status during version check (#16)
* fix: stash pixi files after copier install in the template version check CI --------- Co-authored-by: Copilot <[email protected]>
1 parent 2ac30e5 commit 78bfb58

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,11 @@ jobs:
2525
- name: Setup pixi
2626
uses: prefix-dev/[email protected]
2727

28-
- name: Add copier
29-
run: pixi add copier
30-
28+
- name: Add copier, install it, and stash to avoid 'dirty' copier warnings
29+
run: |
30+
pixi add copier
31+
pixi install
32+
git stash push -m "Stash pixi lock and toml" -- pixi.lock pixi.toml
3133
- name: Add dummy GitHub credentials
3234
run: |
3335
git config --global user.name Copier update

0 commit comments

Comments
 (0)