Compare commits

..

1 Commits

Author SHA1 Message Date
54d2b88af3 Update CI to generate protobuf and Ent ORM files
Some checks failed
CI / Test (pull_request) Failing after 6s
CI / Lint (pull_request) Failing after 2s
CI / Build (pull_request) Failing after 3s
CI / Format Check (pull_request) Failing after 2s
- Add protoc installation step in all CI jobs (test, lint, build)
- Install protoc-gen-go and protoc-gen-go-grpc plugins
- Generate protobuf files using 'make generate-proto' before building/testing
- Generate Ent ORM files from ent/ directory before building/testing
- Ensures CI works correctly after removing generated files from git tracking
2025-11-06 22:25:30 +01:00

View File

@@ -35,8 +35,8 @@ jobs:
- name: Install protoc and plugins
run: |
apt-get update
apt-get install -y protobuf-compiler
sudo apt-get update
sudo apt-get install -y protobuf-compiler
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
@@ -100,8 +100,8 @@ jobs:
- name: Install protoc and plugins
run: |
apt-get update
apt-get install -y protobuf-compiler
sudo apt-get update
sudo apt-get install -y protobuf-compiler
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
@@ -146,8 +146,8 @@ jobs:
- name: Install protoc and plugins
run: |
apt-get update
apt-get install -y protobuf-compiler
sudo apt-get update
sudo apt-get install -y protobuf-compiler
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest