feat(nexus): msg dispatcher for routing messages from the wasm connection router to the nexus module #1911
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
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 |