Compare commits

..

1 Commits

Author SHA1 Message Date
46255bb1a2 Update CI to generate protobuf and Ent ORM files
Some checks failed
CI / Build (pull_request) Failing after 3s
CI / Format Check (pull_request) Failing after 1s
CI / Test (pull_request) Failing after 5s
CI / Lint (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:26:54 +01:00

View File

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