Skip to content

Commit

Permalink
Fix go bindings generation (bazelbuild#182)
Browse files Browse the repository at this point in the history
* Fix go bindings generation

Followup to bazelbuild#154, which forgot to update the bazel configuration.
This makes hooks/pre-commit work again.

* Add a simple CI check that bindings generation works
  • Loading branch information
mostynb authored and peterebden committed Dec 18, 2020
1 parent eaf2779 commit 6502364
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 219 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install bazelisk
run: |
curl -LO https://github.com/bazelbuild/bazelisk/releases/download/v1.7.4/bazelisk-linux-amd64
mkdir -p "${HOME}/bin"
mv bazelisk-linux-amd64 "${HOME}/bin/bazel"
chmod +x "${HOME}/bin/bazel"
- name: Check bindings generation
run: |
set -e
PATH=${HOME}/bin:$PATH ./hooks/pre-commit
1 change: 1 addition & 0 deletions build/bazel/remote/execution/v2/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ proto_library(
srcs = ["remote_execution.proto"],
deps = [
"//build/bazel/semver:semver_proto",
"@com_google_protobuf//:any_proto",
"@com_google_protobuf//:duration_proto",
"@com_google_protobuf//:timestamp_proto",
"@com_google_protobuf//:wrappers_proto",
Expand Down
Loading

0 comments on commit 6502364

Please sign in to comment.