Skip to content

clients: add rpcclient basic auth #1148

clients: add rpcclient basic auth

clients: add rpcclient basic auth #1148

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@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: '1.22'
- name: Check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Install protoc
uses: arduino/setup-protoc@a8b67ba40b37d35169e222f3bb352603327985b6 #v2.1.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