Skip to content

Commit a8bd0cf

Browse files
committed
Added go build compatability test in github action
1 parent 78990f6 commit a8bd0cf

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
chmod +x "${GITHUB_WORKSPACE}/bin/bazel"
3434
3535
- name: Build
36-
run:
37-
${GITHUB_WORKSPACE}/bin/bazel build :doubak
36+
run: ${GITHUB_WORKSPACE}/bin/bazel build :doubak
37+
38+
- name: Test go build compatability
39+
run: go build
3840

3941
- name: Test
40-
run:
41-
${GITHUB_WORKSPACE}/bin/bazel test //...
42+
run: ${GITHUB_WORKSPACE}/bin/bazel test //...

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
name: Release
2+
13
on:
24
push:
35
# Sequence of patterns matched against refs/tags
46
tags:
57
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
68

7-
name: Release
8-
99
jobs:
1010
build:
1111
name: Create Release
@@ -14,6 +14,9 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v2
1616

17+
- name: Install protoc, protoc-gen-go
18+
run: sudo apt install protobuf-compiler golang-goprotobuf-dev
19+
1720
- name: Install bazelisk
1821
run: |
1922
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.6.1/bazelisk-linux-amd64"

0 commit comments

Comments
 (0)