From 899453bec6e1b48727657af390cfcf9adc7fc487 Mon Sep 17 00:00:00 2001 From: Yashash H L Date: Sun, 15 Sep 2024 17:41:00 +0530 Subject: [PATCH] only update ubuntu version for building rust image Signed-off-by: Yashash H L --- .github/workflows/ci.yaml | 6 +++--- pkg/sdkclient/grpc/grpc_utils.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index eec57b1a3b..e9861ca408 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -150,7 +150,7 @@ jobs: - run: git diff --exit-code build-rust-amd64: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 defaults: run: working-directory: ./rust @@ -167,8 +167,8 @@ jobs: echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV - name: Run sccache-cache uses: mozilla-actions/sccache-action@v0.0.5 - - name: Install Protoc - uses: arduino/setup-protoc@v3 + - name: Install dependencies + run: sudo apt-get install -y protobuf-compiler - name: Print Protoc version run: protoc --version - name: Build binary diff --git a/pkg/sdkclient/grpc/grpc_utils.go b/pkg/sdkclient/grpc/grpc_utils.go index 35d272e587..293ba8e8d7 100644 --- a/pkg/sdkclient/grpc/grpc_utils.go +++ b/pkg/sdkclient/grpc/grpc_utils.go @@ -63,7 +63,7 @@ func ConnectToServer(udsSockAddr string, serverInfo *serverinfo.ServerInfo, maxM } if err != nil { - return nil, fmt.Errorf("failed to execute grpc.Dial(%q): %w", sockAddr, err) + return nil, fmt.Errorf("failed to execute grpc.NewClient(%q): %w", sockAddr, err) } return conn, nil