forked from bazelbuild/remote-apis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix go bindings generation (bazelbuild#182)
* 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
1 parent
eaf2779
commit 6502364
Showing
3 changed files
with
274 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.