External gRPC plugin for the GoCodeAlone/workflow engine.
go build ./...
go test ./... -v -race -count=1GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags="-s -w" -o workflow-plugin-TEMPLATE ./cmd/workflow-plugin-TEMPLATE/cmd/workflow-plugin-TEMPLATE/main.go— Plugin entry point (callssdk.Serve)internal/plugin.go— Plugin manifest, module factories, step factoriesinternal/— All module and step implementationsplugin.json— Capability manifest for the workflow registry.goreleaser.yaml— GoReleaser v2 config for cross-platform releases.github/workflows/ci.yml— CI on push/PR (build + test).github/workflows/release.yml— Release on v* tag push (GoReleaser)
- Create
internal/module_example.goimplementing the module - Register in
internal/plugin.goModuleFactories() - Add to
plugin.jsoncapabilities.moduleTypes - Add tests in
internal/module_example_test.go
- Create
internal/step_example.goimplementing the step - Register in
internal/plugin.goStepFactories() - Add to
plugin.jsoncapabilities.stepTypes - Add tests in
internal/step_example_test.go
git tag v0.1.0
git push origin v0.1.0GoReleaser builds cross-platform binaries and creates a GitHub Release automatically.