Update google.golang.org/genproto/googleapis/bytestream digest to 31a09d3 #824
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: pull_request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Mount bazel cache | |
uses: actions/cache@v3 | |
with: | |
path: "/home/runner/.cache/bazel" | |
key: bazel | |
- name: Build | |
run: | | |
bazel build //... | |
- name: Test | |
run: | | |
bazel test //... | |
- name: Run examples | |
run: | | |
# Don't run the example based on binaries for now, because the binaries are not | |
# available to download. | |
EXAMPLES="$(find examples -type d -maxdepth 1 -mindepth 1 | grep -v use-binaries)" | |
for f in $EXAMPLES; do | |
echo "Running example $f" | |
(cd "$f" && bazel run snapshots -- collect) | |
echo "Running example $f (with bzlmod enabled)" | |
(cd "$f" && bazel run --enable_bzlmod snapshots -- collect) | |
done |