@@ -28,51 +28,18 @@ jobs:
2828 - name : Run tests
2929 run : make test
3030
31- proto :
32- name : Proto lint + breaking
31+ smoke :
32+ name : Release smoke (GraphQL + REST + gRPC + MCP)
3333 runs-on : ubuntu-latest
3434 steps :
3535 - uses : actions/checkout@v4
3636 with :
3737 persist-credentials : false
38- # buf breaking needs main's history to diff against.
39- fetch-depth : 0
40-
41- # buf breaking can only diff against main once main actually carries
42- # the proto module; before this PR series merges, main has no proto/
43- # and `buf breaking` fails with "had no .proto files".
44- - name : Check base branch has protos
45- id : base
46- run : |
47- if git ls-tree -d origin/main proto | grep -q proto; then
48- echo "has_proto=true" >> "$GITHUB_OUTPUT"
49- else
50- echo "has_proto=false" >> "$GITHUB_OUTPUT"
51- fi
52-
53- - name : Setup Buf CLI
54- uses : bufbuild/buf-setup-action@v1
38+ - uses : actions/setup-go@v5
5539 with :
56- # Pin to the version you prefer
57- version : " 1.70.0"
58-
59- - name : Authenticate with Buf Registry
60- run : echo "${{ secrets.BUF_TOKEN }}" | buf registry login --token-stdin
61-
62- - name : Buf Build & Lint
63- run : |
64- buf build proto
65- buf lint proto
66-
67- - name : Buf Format Check
68- run : buf format --diff --exit-code proto
69-
70- - name : Buf Breaking Change Check
71- # Replicates your exact conditional check
72- if : ${{ github.event_name == 'pull_request' && steps.base.outputs.has_proto == 'true' }}
73- run : |
74- buf breaking proto --against "https://github.com/${{ github.repository }}.git#branch=main,subdir=proto"
75-
76- - name : Buf Push (On Main Branch)
77- if : ${{ github.ref == 'refs/heads/main' }}
78- run : buf push proto
40+ go-version-file : go.mod
41+ cache : true
42+ # Black-box end-to-end pass over every public API surface against the
43+ # freshly built binary (see internal/e2e/smoke_test.go).
44+ - name : Run smoke tests
45+ run : make smoke
0 commit comments