Skip to content

fix: prevent double-starting stdio transport in client #1085

fix: prevent double-starting stdio transport in client

fix: prevent double-starting stdio transport in client #1085

Workflow file for this run

name: go
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go test ./... -race
verify-codegen:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run code generation
run: go generate ./...
- name: Check for uncommitted changes
run: |
if [[ -n $(git status --porcelain) ]]; then
echo "Error: Generated code is not up to date. Please run 'go generate ./...' and commit the changes."
git status
git diff
exit 1
fi