Skip to content

Unbreak go_proto_library() targets #99

Unbreak go_proto_library() targets

Unbreak go_proto_library() targets #99

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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 generated code is up to date
run: |
set -e
PATH=${HOME}/bin:$PATH ./hooks/pre-commit
if ! git diff --quiet HEAD; then
echo "Generated code is out of date. Please run ./hooks/pre-commit and commit the result."
git diff --stat HEAD
exit 1
fi