Skip to content

Commit 71fe3ba

Browse files
committed
ci: add template verification workflow
- Add GitHub Actions workflow for template validation - Configure Bazel caching for CI performance - Run build and test on PR/push to main
1 parent 399f8d6 commit 71fe3ba

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Template Check
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
verify-template:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Bazel
18+
uses: bazel-contrib/setup-bazel@0.16.0
19+
with:
20+
bazelisk-cache: true
21+
disk-cache: ${{ github.workflow }}
22+
repository-cache: true
23+
24+
- name: Verify Template Builds
25+
run: bazel build //...
26+
27+
- name: Verify Template Tests
28+
run: bazel test //...

0 commit comments

Comments
 (0)