Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
graham-chainlink committed Sep 16, 2024
1 parent c5808bc commit f2e3372
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/regenerate-protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
18 changes: 10 additions & 8 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f2e3372

Please sign in to comment.