Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 279812a

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

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

‎.github/workflows/golang.yaml‎

Lines changed: 19 additions & 0 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /