Skip to content

Commit ec86f2e

Browse files
committed
add basic workflow
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
1 parent 6573227 commit ec86f2e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Build"
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
concurrency:
8+
group: ${{ github.ref }}
9+
cancel-in-progress: true
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build-and-test:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: bazel-contrib/setup-bazel@0.14.0
21+
with:
22+
bazelisk-cache: true
23+
disk-cache: ${{ github.workflow }}
24+
repository-cache: true
25+
26+
- name: bazel-build-and-test
27+
run: |
28+
bazel test //...

0 commit comments

Comments
 (0)