Skip to content

fix mock gen

fix mock gen #13

Workflow file for this run

# Protobuf files lint and backwards compatibility check job
# reference: <https://docs.buf.build/ci-cd/github-actions>
name: protobuf-check
on:
push:
branches:
- master
- develop
pull_request:
branches:
- master
- develop
jobs:
protobuf-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1
- run: buf format --diff --exit-code
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Test protobuf changes generates new go files
run: |
export PATH="$PATH:$(go env GOPATH)/bin"
make tools proto-gen-check
- name: Test protobuf swagger changes
run: |
export PATH="$PATH:$(go env GOPATH)/bin"
make tools proto-swagger-check