Skip to content

feat: add connection router address to nexus params #1899

feat: add connection router address to nexus params

feat: add connection router address to nexus params #1899

name: Check protobuf generated files up-to-date
on:
- pull_request
jobs:
check-proto-generate-up-to-date:
strategy:
matrix:
go-version:
- 1.21
os:
- ubuntu-20.04
runs-on: ${{ matrix.os }}
steps:
- name: Setup Golang with cache
uses: magnetikonline/action-golang-cache@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install prereqs
run: |
go install github.com/rakyll/statik
- name: Generate proto files and docs
run: make proto-format proto-gen
- name: Check for changes
run: |
if [ -n "$(git status --porcelain)" ]; then
echo Following files are changed...
git status
echo Changes:
git diff
exit 1;
else
exit 0;
fi