chore: improve ci#5
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis PR updates release automation configuration, renames CI/CD workflow display names, adds a release workflow to build and publish native and WASM Buf plugins on GitHub Releases, ignores the WASM artifact in .gitignore, and introduces Taskfile tasks to build native and WASM plugin binaries. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as GitHub Release
participant WF as GHA Workflow "cd"
participant OP as 1Password App
participant Go as Go Toolchain
participant Buf as Buf CLI
participant BSR as Buf Registry (buf.build)
Dev->>WF: release(created: released/prereleased)
WF->>OP: Load OP_SERVICE_ACCOUNT_TOKEN, BUF_TOKEN
OP-->>WF: Secrets
WF->>Buf: buf registry login (BUF_TOKEN)
par Native build
WF->>Go: go build ./cmd/protoc-gen-connect-go-servicestruct
Go-->>WF: protoc-gen-connect-go-servicestruct
WF->>Buf: push native binary with labels (tag, latest)
Buf-->>BSR: Publish native
and WASM build
WF->>Go: GOOS=wasip1 GOARCH=wasm go build ./cmd/...
Go-->>WF: protoc-gen-connect-go-servicestruct.wasm
WF->>Buf: push wasm binary with labels (tag-wasm, latest-wasm)
Buf-->>BSR: Publish wasm
end
BSR-->>WF: Publish results
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20–30 minutes Possibly related PRs
Poem
✨ Finishing touches🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
470ba23 to
162b826
Compare
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
No description provided.