Skip to content

Commit 3a75044

Browse files
committed
Try a bazel build
1 parent 98cd174 commit 3a75044

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/bazel.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: bazelbuild/setup-bazelisk@v3
19+
- name: Mount bazel cache # Optional
20+
uses: actions/cache@v4
21+
with:
22+
path: "~/.cache/bazel"
23+
key: bazel
24+
- run: bazel build //...

0 commit comments

Comments
 (0)