Merge pull request #1 from raysuffern/fix/misspell

cicd: add github workflow ci
This commit is contained in:
Ray Suffern
2024-06-03 19:25:32 +08:00
committed by GitHub
2 changed files with 22 additions and 1 deletions

21
.github/workflows/go.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Build
run: go build -v ./...

View File

@@ -204,7 +204,7 @@ func (ex *exchange) forwardMessageToService(end geminio.End) {
continue
}
topic := msg.Topic()
// TODO seperate async and sync produce
// TODO separate async and sync produce
err = ex.MQM.Produce(topic, msg.Data(),
apis.WithOrigin(msg),
apis.WithEdgeID(edgeID),