Update to 0.1.8 #506
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: ClientRPC Validation | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
clientrpc: | |
name: Check ClientRPC bindings | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 #v3.5.0 | |
with: | |
go-version: '1.20' | |
- name: Check out source | |
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c #v3.3.0 | |
- name: Install protoc | |
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 #v1.1.2 | |
with: | |
version: '3.19.x' | |
- name: Install protolint | |
run: go install github.com/yoheimuta/protolint/cmd/[email protected] | |
- name: Lint proto files | |
run: protolint lint . | |
working-directory: clientrpc | |
- name: Rebuild the bindings | |
run: ./regen-clientrpc.sh | |
working-directory: clientrpc | |
- name: Verify rebuilding is not dirty | |
id: changes | |
uses: UnicornGlobal/has-changes-action@ea00e6f831a9e785271645729fa251907b314707 #v1.0.12 | |
- name: Fail if there are changes in repo | |
if: steps.changes.outputs.changed == 1 | |
run: exit 1 | |