Skip to content

Commit 9a382be

Browse files
committed
ci: 增加CI检查
1 parent 0db409a commit 9a382be

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/master.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: A
2+
on:
3+
pull_request:
4+
jobs:
5+
check:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v2
9+
- name: Build
10+
run: go build ./...
11+
- name: Run Tests
12+
run: go test ./...
13+
- name: Run golangci-lint
14+
uses: golangci/golangci-lint-action@v2.5.2
15+

0 commit comments

Comments
 (0)