Skip to content

Commit

Permalink
Update CI to re-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Mar 29, 2024
1 parent 1ac9561 commit f8617e6
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,16 @@ jobs:
key: ${{ runner.os }}-bazel-${{ env.USE_BAZEL_VERSION }}-${{ hashFiles('WORKSPACE', 'repositories.bzl') }}

- name: Run bazel build
run: bazelisk build //...
run: bazelisk build //... --enable_bzlmod=false

- name: Run bazel build (bzlmod)
run: bazelisk build //... --enable_bzlmod=true

- name: Check maven_install.json
run: |
bazelisk run @unpinned_maven//:pin --enable_bzlmod=true
if [[ ! -z $(git status --porcelain) ]]; then
git status
echo "Error Working directory is not clean. Forget to commit generated files?"
exit 1
fi

0 comments on commit f8617e6

Please sign in to comment.