Skip to content

Commit

Permalink
Add test bazel GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
armandomontanez committed Oct 3, 2024
1 parent e3c2d20 commit 5b86fed
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/bazel_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: basic
run-name: presubmit run triggered by ${{ github.actor }}
on:
push:
branches:
- 'fix-bazel-build-2024-10-03'
jobs:
bazel-build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Get Bazel
uses: bazel-contrib/setup-bazel@0.8.1
with:
# Avoid downloading Bazel every time.
bazelisk-cache: true
# Store build cache per workflow.
disk-cache: ${{ github.workflow }}
# Share repository cache between workflows.
repository-cache: true
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Presubmit
run: python3 tools/run_all_bazel_checks.py

0 comments on commit 5b86fed

Please sign in to comment.