Skip to content

client: unsub and remove idle users from gc #565

client: unsub and remove idle users from gc

client: unsub and remove idle users from gc #565

Workflow file for this run

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@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: '1.21'
- name: Check out source
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
- name: Install protoc
uses: arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9 #v2.0.0
with:
version: '23.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