Skip to content

Commit f80170e

Browse files
feat(ci):implement initial ci pipeline
1 parent 3b9fbbb commit f80170e

2 files changed

Lines changed: 28 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI workflow
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- feature/*
8+
pull_request:
9+
branches:
10+
- main
11+
12+
jobs:
13+
build-and-tests:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Set up Go
17+
uses: actions/setup-go@v3
18+
with:
19+
go-version: 1.25.6
20+
- name: Checking Go version
21+
run: go version
22+
- name: Checkout code and run tests
23+
uses: actions/checkout@v5
24+
- name: setup go dependency
25+
run: go mod tidy
26+
- name: run tests
27+
run: go test -v ./...
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (f *FunctionInvoker) Invoke(ctx context.Context, functionName string, paylo
4343
return nil, err
4444
}
4545

46-
time.Sleep(50 * time.Millisecond)
46+
time.Sleep(500 * time.Millisecond)
4747

4848
inspect, err := cli.ContainerInspect(ctx, containerId, client.ContainerInspectOptions{})
4949
if err != nil {

0 commit comments

Comments
 (0)