Skip to content

Commit 279812a

Browse files
committed
ci: 增加GitHub action测试流程
1 parent bb64c01 commit 279812a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Diff for: .github/workflows/golang.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Go package
2+
3+
on: [ push ]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
steps:
10+
-
11+
- uses: actions/checkout@v3
12+
13+
- name: Set up Go
14+
uses: actions/setup-go@v4
15+
with:
16+
go-version: '1.18'
17+
18+
- name: Test
19+
run: go test -v ./...

0 commit comments

Comments
 (0)