From f2e337290cdb80e1ac76db65f6cb21a218380944 Mon Sep 17 00:00:00 2001 From: Graham Goh Date: Mon, 16 Sep 2024 13:19:25 +1000 Subject: [PATCH] test --- .github/workflows/regenerate-protobuf.yml | 4 ++-- .husky/pre-commit | 18 ++++++++++-------- .tool-versions | 4 ++-- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/regenerate-protobuf.yml b/.github/workflows/regenerate-protobuf.yml index 4aa59ec..d9ce048 100644 --- a/.github/workflows/regenerate-protobuf.yml +++ b/.github/workflows/regenerate-protobuf.yml @@ -19,8 +19,8 @@ jobs: - name: Install dependencies run: | - go install github.com/golang/protobuf/protoc-gen-go - go install google.golang.org/grpc + go install google.golang.org/protobuf/cmd/protoc-gen-go@latest + go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest - name: Regenerate protobuf files run: | diff --git a/.husky/pre-commit b/.husky/pre-commit index 18fe9b2..8e31b3a 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,11 +1,13 @@ -# Stash unstaged changes -git stash --keep-index --include-untracked +# # Stash unstaged changes +# git stash --keep-index --include-untracked -# Regenerate the proto files -task proto:all +# # Regenerate the proto files +# task proto:all -# Add only the generated .pb.go files -find . -name "*.pb.go" -exec git add {} + +# # Add only the generated .pb.go files +# find . -name "*.pb.go" -exec git add {} + -# Restore stashed changes -git stash pop +# # Restore stashed changes +# git stash pop + +exit 0 diff --git a/.tool-versions b/.tool-versions index 27cf37f..46a72d5 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,7 +1,7 @@ golang 1.22.2 task 3.35.1 protoc 25.3 -protoc-gen-go-grpc 1.3.0 -protoc-gen-go 1.29.0 +protoc-gen-go-grpc 1.5.1 +protoc-gen-go 1.34.2 nodejs 20.13.1 pnpm 9.6.0