ci: use bazel repository cache for tidy checks (#1525)

This commit is contained in:
Malte Poll 2023-03-29 14:13:51 +02:00 committed by GitHub
parent fc0efb6309
commit 2a8169dd3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,12 @@ jobs:
sudo apt-get update && sudo apt-get -y install libcryptsetup-dev libvirt-dev
echo "::endgroup::"
- name: Setup Bazel
uses: ./.github/actions/setup_bazel
with:
useCache: "true"
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }}
- name: Setup Go environment
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:

View File

@ -23,6 +23,7 @@ jobs:
- name: Build common targets
run: |
bazel build \
//bazel/ci/... \
//bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64 \
//cli:cli_oss_linux_amd64 \
//cli:cli_oss_darwin_amd64 \