Skip to content

cargo {fmt,clippy}

cargo {fmt,clippy} #12

Workflow file for this run

on: [push, pull_request]
name: Check protobuf
jobs:
check:
name: Check protobuf definitions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: arduino/setup-protoc@v2
- run: |
set -xeuo pipefail
./scripts/update_protos.sh
if git diff --exit-code; then
echo "Protobuf files in a inconsistent state"
echo "Run ./scripts/update_protos.sh and commit updates to git repo"
exit 1
fi