Skip to content

Commit 596ff3f

Browse files
committed
add CODEOWNERS & GitHub Action
1 parent 64e611f commit 596ff3f

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#
2+
# https://help.github.com/articles/about-codeowners/
3+
#
4+
5+
* @wechaty/go

.github/workflows/go.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
name: Test
12+
runs-on: ubuntu-latest
13+
steps:
14+
15+
- name: Set up Go 1.14
16+
uses: actions/setup-go@v1
17+
with:
18+
go-version: 1.14
19+
id: go
20+
21+
- name: Check out code into the Go module directory
22+
uses: actions/checkout@v2
23+
24+
- name: Get dependencies
25+
run: go vet ./...
26+
27+
- name: Install dependencies
28+
run: make install
29+
30+
- name: Go Test
31+
run: make test

0 commit comments

Comments
 (0)