diff --git a/.github/workflows/lint_and_test_go-client.yml b/.github/workflows/lint_and_test_go-client.yml index 3caf35c09e..bfaa276f21 100644 --- a/.github/workflows/lint_and_test_go-client.yml +++ b/.github/workflows/lint_and_test_go-client.yml @@ -70,8 +70,19 @@ jobs: ARTIFACT_NAME: release_for_go_client BUILD_OPTIONS: -t release --compiler clang-10,clang++-10 container: - image: apache/pegasus:thirdparties-bin-ubuntu2004-${{ github.base_ref }} + image: apache/pegasus:thirdparties-bin-test-ubuntu2204-${{ github.base_ref }} 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 - uses: actions/checkout@v3 - uses: "./.github/actions/rebuild_thirdparty_if_needed" - uses: "./.github/actions/build_pegasus" @@ -84,12 +95,19 @@ jobs: env: ARTIFACT_NAME: release_for_go_client container: - image: apache/pegasus:thirdparties-bin-ubuntu2004-${{ github.base_ref }} + image: apache/pegasus:thirdparties-bin-test-ubuntu2204-${{ github.base_ref }} steps: - name: Install thrift run: | - apt-get update - apt-get install -y thrift-compiler + 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@v3 - name: Set up Go