Add CI verification of build.json
Adds a check to the `verify-pull-request` CI workflow to make sure that
`build.json` is in sync with the bazel build targets.
diff --git a/.github/workflows/verify-pull-request.yml b/.github/workflows/verify-pull-request.yml
index 9c57be7..744b5c9 100644
--- a/.github/workflows/verify-pull-request.yml
+++ b/.github/workflows/verify-pull-request.yml
@@ -27,3 +27,14 @@
with:
options: "--check --verbose"
version: "24.8.0"
+ check-build-json:
+ name: "Check build.json"
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: bazel-contrib/setup-bazel@0.8.5
+ with:
+ bazelisk-cache: true
+ disk-cache: "verify-pr:check-build-json"
+ repository-cache: true
+ - run: python3 scripts/build_helpers/manage_build_json.py --validate