Skip to content

Commit 9b2a632

Browse files
authored
Merge pull request #10 from golang-infrastructure/dev
ci: 增加GitHub action测试流程
2 parents 539b9b0 + 8b96a08 commit 9b2a632

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/golang.yaml

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

0 commit comments

Comments
 (0)