Skip to content

Commit

Permalink
fix: update Bazel lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
SanjayVas committed Jul 29, 2024
1 parent 644e435 commit 39063cc
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
- name: Check out revision
uses: actions/checkout@v4

- name: Set up Bazel
uses: world-federation-of-advertisers/actions/setup-bazel@v2

- uses: ./.github/actions/free-disk-space

# Authenticate to Google Cloud for access to remote cache.
Expand Down Expand Up @@ -86,10 +89,10 @@ jobs:
- name: Get Bazel cache params
id: get-cache-params
run: |
cache_path="$(bazelisk info output_base)"
cache_path="$(bazel info output_base)"
echo "cache-path=${cache_path}" >> $GITHUB_OUTPUT
repo_cache_path="$(bazelisk info repository_cache)"
repo_cache_path="$(bazel info repository_cache)"
echo "repo-cache-path=${repo_cache_path}" >> $GITHUB_OUTPUT
# Hack to work around disk space consumed by bazel-contrib/rules_oci#439.
Expand All @@ -105,9 +108,12 @@ jobs:
path: ${{ steps.get-cache-params.outputs.repo-cache-path }}
key: ${{ vars.BAZEL_REPO_CACHE_KEY }}

- name: Check lockfile
run: bazel mod deps

- name: Build
run: >
bazelisk build --worker_quit_after_build
bazel build --worker_quit_after_build
//...
//src/main/k8s/dev:synthetic_generator_edp_simulators
Expand All @@ -120,7 +126,7 @@ jobs:

- name: Run tests
id: run-tests
run: bazelisk test //...
run: bazel test //...

- name: Create cluster
id: create-cluster
Expand All @@ -133,7 +139,7 @@ jobs:
- name: Run correctness test
id: run-correctness-test
run: >
bazelisk test
bazel test
//src/test/kotlin/org/wfanet/measurement/integration/k8s:EmptyClusterCorrectnessTest
--test_output=streamed
Expand All @@ -146,7 +152,7 @@ jobs:
- name: Run panelmatch correctness test
id: run-panelmatch-correctness-test
run: >
bazelisk test
bazel test
//src/test/kotlin/org/wfanet/panelmatch/integration/k8s:EmptyClusterPanelMatchCorrectnessTest
--test_output=streamed
Expand Down
28 changes: 28 additions & 0 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39063cc

Please sign in to comment.