From b8e49904120e373df01f54df3ae3a49a597f1a5c Mon Sep 17 00:00:00 2001 From: Junduo Dong Date: Mon, 20 Jan 2025 10:51:29 +0800 Subject: [PATCH] replace manual install with official bazel action Signed-off-by: Junduo Dong --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11dddeb2c7..4795c282e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -227,7 +227,11 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install bazel - run: ./ci/run_ci.sh install_bazel + uses: bazel-contrib/setup-bazel@0.12.1 + with: + bazelisk-cache: true + disk-cache: ${{ github.workflow }} + repository-cache: true - name: Run Python CI shell: bash run: ./ci/run_ci.sh python