mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
ci: use bazel repository cache for tidy checks (#1525)
This commit is contained in:
parent
fc0efb6309
commit
2a8169dd3b
6
.github/workflows/test-tidy.yml
vendored
6
.github/workflows/test-tidy.yml
vendored
@ -26,6 +26,12 @@ jobs:
|
|||||||
sudo apt-get update && sudo apt-get -y install libcryptsetup-dev libvirt-dev
|
sudo apt-get update && sudo apt-get -y install libcryptsetup-dev libvirt-dev
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
|
|
||||||
|
- name: Setup Bazel
|
||||||
|
uses: ./.github/actions/setup_bazel
|
||||||
|
with:
|
||||||
|
useCache: "true"
|
||||||
|
buildBuddyApiKey: ${{ secrets.BUILDBUDDY_ORG_API_KEY }}
|
||||||
|
|
||||||
- name: Setup Go environment
|
- name: Setup Go environment
|
||||||
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
||||||
with:
|
with:
|
||||||
|
1
.github/workflows/warm-bazel-cache.yml
vendored
1
.github/workflows/warm-bazel-cache.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
- name: Build common targets
|
- name: Build common targets
|
||||||
run: |
|
run: |
|
||||||
bazel build \
|
bazel build \
|
||||||
|
//bazel/ci/... \
|
||||||
//bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64 \
|
//bootstrapper/cmd/bootstrapper:bootstrapper_linux_amd64 \
|
||||||
//cli:cli_oss_linux_amd64 \
|
//cli:cli_oss_linux_amd64 \
|
||||||
//cli:cli_oss_darwin_amd64 \
|
//cli:cli_oss_darwin_amd64 \
|
||||||
|
Loading…
Reference in New Issue
Block a user