diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..ee5229c --- /dev/null +++ b/.github/workflows/go.yml @@ -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 ./... \ No newline at end of file diff --git a/pkg/frontier/exchange/forward.go b/pkg/frontier/exchange/forward.go index 7a80825..fa09449 100644 --- a/pkg/frontier/exchange/forward.go +++ b/pkg/frontier/exchange/forward.go @@ -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),