mirror of
https://github.com/singchia/frontier.git
synced 2025-09-26 20:31:25 +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
|
||||
}
|
||||
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),
|
||||
|
Reference in New Issue
Block a user