Update CI to use Alpine package manager (apk)
- 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:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user