Skip to content

feat: add rust bindings #4

feat: add rust bindings

feat: add rust bindings #4

Workflow file for this run

name: Check make generate
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
check-make-generate:
name: Check make generate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21' # Specify the Go version you're using
- name: Install protoc-gen-go and protoc-gen-go-grpc
run: |
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
go install github.com/grpc-ecosystem/grpc-gateway/v2/[email protected]
echo "${HOME}/go/bin" >> $GITHUB_PATH
- uses: bufbuild/[email protected]
with:
version: 1.32.1
- name: Check buf installation
run: buf --version
- name: Run make generate
run: make generate
- name: Check if make generate generated changes that should be committed
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "Error: make generate generated changes that should be committed. Please run 'make generate' and commit the changes."
git diff
git status
exit 1
fi