Skip to content

Commit 6d446e5

Browse files
fix(ci): avoid flake registry
- consistently sync uv lock even if redundant Signed-off-by: Cameron Smith <cameron.ray.smith@gmail.com>
1 parent adeab6c commit 6d446e5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/template.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ jobs:
182182
git config --local user.email "test@example.com"
183183
git config --local user.name "Test User"
184184
git commit --allow-empty -m "initial commit (empty)"
185+
186+
# This needs to use a global uv (astral-sh/setup-uv) before entering
187+
# the devshell even though uv is included in the devshell
188+
nix run github:NixOS/nixpkgs/nixos-unstable#uv -- lock
185189
git add .
186190
187191
nix develop --accept-flake-config -c pytest
@@ -211,11 +215,10 @@ jobs:
211215
git config --local user.email "test@example.com"
212216
git config --local user.name "Test User"
213217
git commit --allow-empty -m "initial commit (empty)"
214-
git add .
215218
216219
# This needs to use a global uv (astral-sh/setup-uv) before entering
217220
# the devshell even though uv is included in the devshell
218-
nix run nixpkgs#uv -- lock
221+
nix run github:NixOS/nixpkgs/nixos-unstable#uv -- lock
219222
git add .
220223
221224
nix develop --accept-flake-config -c pytest

0 commit comments

Comments
 (0)