This is an automated email from the ASF dual-hosted git repository.
wangdan pushed a commit to branch fix-github-ubuntu-2004-runner-removed
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git
The following commit(s) were added to
refs/heads/fix-github-ubuntu-2004-runner-removed by this push:
new 5d316be59 use image
5d316be59 is described below
commit 5d316be5927e8cb53abfae28adf51ef631da7575
Author: Dan Wang <[email protected]>
AuthorDate: Fri Apr 25 14:47:40 2025 +0800
use image
---
.github/workflows/lint_and_test_go-client.yml | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
diff --git a/.github/workflows/lint_and_test_go-client.yml
b/.github/workflows/lint_and_test_go-client.yml
index f90e2f71a..8a8916be0 100644
--- a/.github/workflows/lint_and_test_go-client.yml
+++ b/.github/workflows/lint_and_test_go-client.yml
@@ -62,20 +62,9 @@ jobs:
# go-client imports thrift package of 0.13.0, so we must use
thrift-compiler 0.13.0
# to generate code as well. The thrift-compiler version on ubuntu-20.04 is
0.13.0
runs-on: ubuntu-latest
- #container:
- # image: apache/pegasus:build-env-ubuntu2204-${{ github.ref_name }}-go
+ container:
+ image: apache/pegasus:build-env-ubuntu2204-${{ github.ref_name }}-go
steps:
- - name: Install thrift
- run: |
- export THRIFT_VERSION=0.13.0
- wget --progress=dot:giga
https://github.com/apache/thrift/archive/refs/tags/v${THRIFT_VERSION}.tar.gz
- tar -xzf v${THRIFT_VERSION}.tar.gz
- cd thrift-${THRIFT_VERSION}
- ./bootstrap.sh
- ./configure --enable-libs=no
- make -j $(nproc)
- make install
- cd - && rm -rf thrift-${THRIFT_VERSION} v${THRIFT_VERSION}.tar.gz
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]