Update CI to use Alpine package manager (apk)
Some checks failed
CI / Test (pull_request) Failing after 31s
CI / Lint (pull_request) Failing after 12s
CI / Build (pull_request) Failing after 4s
CI / Format Check (pull_request) Failing after 2s

- Replace apt-get commands with apk for Alpine Linux compatibility
- Use 'apk add --no-cache protobuf-dev protoc' instead of apt-get
- Updated in all CI jobs: test, lint, and build
- Fixes package installation for Alpine-based CI runners
This commit is contained in:
2025-11-06 22:30:39 +01:00
parent 46255bb1a2
commit be9baee180

View File

@@ -35,8 +35,7 @@ jobs:
- name: Install protoc and plugins
run: |
apt-get update
apt-get install -y protobuf-compiler
apk add --no-cache protobuf-dev protoc
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 +99,7 @@ jobs:
- name: Install protoc and plugins
run: |
apt-get update
apt-get install -y protobuf-compiler
apk add --no-cache protobuf-dev protoc
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 +144,7 @@ jobs:
- name: Install protoc and plugins
run: |
apt-get update
apt-get install -y protobuf-compiler
apk add --no-cache protobuf-dev protoc
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest