refactor: use google.protobuf.Timestamp instead of int64 #1
Workflow file for this run
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
# Check if the generated protobuf code matches the committed code | |
name: Protobuf | |
on: | |
workflow_call: | |
jobs: | |
proto-gen: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Check protobuf generated code matches committed code" | |
- run: echo "$GITHUB_WORKSPACE/go/bin" >> $GITHUB_PATH | |
# yamllint disable | |
- run: | | |
set -euo pipefail | |
make proto-gen | |
if ! git diff --stat --exit-code ; then | |
echo ">> ERROR:" | |
echo ">>" | |
echo ">> Protobuf generated code requires update (either tools or .proto files may have changed)." | |
echo ">> Ensure your tools are up-to-date, re-run 'make proto-gen' and update this PR." | |
echo ">>" | |
exit 1 | |
fi | |
# yamllint enable |