Skip to content

Commit 1720c87

Browse files
setup unit-test ci pipeline (#17)
1 parent 2957926 commit 1720c87

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)