Skip to content

Commit 7c4d002

Browse files
committed
ci: add pre-commit autoupdate to bump target
1 parent 319b650 commit 7c4d002

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

justfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ bump:
3030
nix develop --command go get -u -t -v ./...
3131
nix develop --command go mod tidy
3232
nix develop --command just rehash-package-nix
33+
nix develop --command pre-commit autoupdate
34+
3335

3436
rehash-package-nix:
3537
sd 'vendorHash = ".*";' 'vendorHash = "";' package.nix; h="$((nix build -L --no-link .#default || true) 2>&1 | sed -nE 's/.*got:[[:space:]]+([^ ]+).*/\1/p' | tail -1)"; [ -n "$h" ] && sd 'vendorHash = ".*";' "vendorHash = \"$h\";" package.nix && echo "vendorHash -> $h"

0 commit comments

Comments
 (0)