chore(deps): update bazel-contrib/setup-bazel action to v0.10.0 #278
Workflow file for this run
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: Bazel build | |
env: | |
HOMEBREW_NO_AUTO_UPDATE: 1 | |
# typically used for bazel internal testing: changes outputRoot, sets idletimeout to ~15s | |
TEST_TMPDIR: /tmp/bazel | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
push: | |
jobs: | |
build: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
#- | |
# name: Date-Based Cache key | |
# # get a key showing the current week (ISO: yyyyWww) allowing older caches to age-out/autoprune | |
# id: week | |
# run: echo "::set-output name=iso::$(date +'bazel-%YW%U')" | |
#- | |
# uses: bazel-contrib/[email protected] | |
# with: | |
# # Cache bazel downloads via bazelisk | |
# bazelisk-cache: true | |
# # Store build cache per week | |
# disk-cache: ${{ steps.week.outputs.iso }} | |
# # Share repository cache between workflows. | |
# repository-cache: true | |
- uses: actions/[email protected] | |
# https://github.com/bazelbuild/bazel/issues/11062 | |
- | |
run: bazel run //docs:collate_docs | |
- | |
run: bazel build //... | |
- | |
run: bazel test //... --test_output=errors --test_summary=detailed | |
- | |
name: Integration Tests (ie Proof Examples) | |
run: bazel test //examples:all_integration_tests --test_output=errors --test_summary=detailed | |
- | |
run: bazel shutdown |