Skip to content

Commit d221e5e

Browse files
committed
setup unit-test ci pipeline
1 parent f03c7c9 commit d221e5e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: unit-tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
unit-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v4
15+
16+
- name: set up go
17+
uses: actions/setup-go@v5
18+
with:
19+
go-version: "1.22"
20+
21+
- name: unit tests
22+
run: go test ./...

0 commit comments

Comments
 (0)