Revert CI to use apk for Alpine runner
Some checks failed
CI / Build (pull_request) Failing after 4s
CI / Test (pull_request) Failing after 32s
CI / Lint (pull_request) Failing after 5s
CI / Format Check (pull_request) Failing after 1s

The CI runner uses Alpine Linux, so we need to use apk instead of apt-get
This commit is contained in:
2025-11-06 22:49:45 +01:00
parent 78d91d6f21
commit 65920c0a80

View File

@@ -35,8 +35,7 @@ jobs:
- name: Install protoc and plugins - name: Install protoc and plugins
run: | run: |
sudo apt-get update apk add --no-cache protobuf-dev protoc
sudo 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
echo "$HOME/go/bin" >> $GITHUB_PATH echo "$HOME/go/bin" >> $GITHUB_PATH
@@ -97,8 +96,7 @@ jobs:
- name: Install protoc and plugins - name: Install protoc and plugins
run: | run: |
sudo apt-get update apk add --no-cache protobuf-dev protoc
sudo 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
echo "$HOME/go/bin" >> $GITHUB_PATH echo "$HOME/go/bin" >> $GITHUB_PATH
@@ -144,8 +142,7 @@ jobs:
- name: Install protoc and plugins - name: Install protoc and plugins
run: | run: |
sudo apt-get update apk add --no-cache protobuf-dev protoc
sudo 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
echo "$HOME/go/bin" >> $GITHUB_PATH echo "$HOME/go/bin" >> $GITHUB_PATH