mirror of
https://github.com/singchia/frontier.git
synced 2025-09-27 04:36:18 +08:00
Merge pull request #1 from raysuffern/fix/misspell
cicd: add github workflow ci
This commit is contained in:
21
.github/workflows/go.yml
vendored
Normal file
21
.github/workflows/go.yml
vendored
Normal 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 ./...
|
@@ -204,7 +204,7 @@ func (ex *exchange) forwardMessageToService(end geminio.End) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
topic := msg.Topic()
|
topic := msg.Topic()
|
||||||
// TODO seperate async and sync produce
|
// TODO separate async and sync produce
|
||||||
err = ex.MQM.Produce(topic, msg.Data(),
|
err = ex.MQM.Produce(topic, msg.Data(),
|
||||||
apis.WithOrigin(msg),
|
apis.WithOrigin(msg),
|
||||||
apis.WithEdgeID(edgeID),
|
apis.WithEdgeID(edgeID),
|
||||||
|
Reference in New Issue
Block a user