Fix up --verbose (#83) #218
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: presubmit | |
on: | |
push: | |
pull_request: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
presubmit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check dependencies and format | |
run: scripts/update-dependencies && scripts/format && { [[ -z "$(git status --porcelain)" ]] || exit 1; } | |
- name: bazel test //... | |
env: | |
# Bazelisk will download bazel to here, ensure it is cached within tests. | |
XDG_CACHE_HOME: /home/runner/.cache/bazel-repo | |
run: bazel --bazelrc=.github/workflows/ci.bazelrc --bazelrc=.bazelrc test //... |