Commit 3351f78 1 parent eb8e7d9 commit 3351f78 Copy full SHA for 3351f78
File tree 3 files changed +44
-4
lines changed
3 files changed +44
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : Go
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ # This enables a "Run workflow" button on the Actions tab
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ build :
14
+ strategy :
15
+ matrix :
16
+ go-version : [ 1.13 ]
17
+ os : [ ubuntu-latest, macos-latest, windows-latest ]
18
+ runs-on : ${{ matrix.os }}
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+
22
+ - name : Setup Go
23
+ uses : actions/setup-go@v2
24
+ with :
25
+ go-version : ${{ matrix.go-version }}
26
+
27
+ - name : Run tests
28
+ run : make test-race fmt vet
29
+
30
+ - name : Upload coverage to Codecov
31
+ if : ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.go-version == '1.13' }}
32
+ run : |
33
+ go test -coverprofile=coverage.txt -covermode=atomic ./...
34
+ bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 1
1
# Spiker
2
- [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/shockerli/spiker )] ( https://pkg.go.dev/github.com/shockerli/spiker ) [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/shockerli/spiker )] ( https://goreportcard.com/report/github.com/shockerli/spiker ) [ ![ Build Status] ( https://travis-ci.com/shockerli/spiker.svg?branch=master )] ( https://travis-ci.com/shockerli/spiker )
2
+ [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/shockerli/spiker )] ( https://pkg.go.dev/github.com/shockerli/spiker )
3
+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/shockerli/spiker )] ( https://goreportcard.com/report/github.com/shockerli/spiker )
4
+ [ ![ codecov] ( https://codecov.io/gh/shockerli/spiker/branch/master/graph/badge.svg )] ( https://codecov.io/gh/shockerli/spiker )
5
+ ![ GitHub top language] ( https://img.shields.io/github/languages/top/shockerli/spiker )
3
6
4
7
> A Go package implementation of real-time computing
5
8
>
6
9
> lexer is inspired by [ tdop] ( https://github.com/cristiandima/tdop )
7
10
8
- [ 中文] ( README_ZH.md )
11
+ English | [ 中文] ( README_ZH.md )
9
12
10
13
## Install
11
14
``` sh
Original file line number Diff line number Diff line change 1
1
# Spiker
2
- [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/shockerli/spiker )] ( https://pkg.go.dev/github.com/shockerli/spiker ) [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/shockerli/spiker )] ( https://goreportcard.com/report/github.com/shockerli/spiker ) [ ![ Build Status] ( https://travis-ci.com/shockerli/spiker.svg?branch=master )] ( https://travis-ci.com/shockerli/spiker )
2
+ [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/shockerli/spiker )] ( https://pkg.go.dev/github.com/shockerli/spiker )
3
+ [ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/shockerli/spiker )] ( https://goreportcard.com/report/github.com/shockerli/spiker )
4
+ [ ![ codecov] ( https://codecov.io/gh/shockerli/spiker/branch/master/graph/badge.svg )] ( https://codecov.io/gh/shockerli/spiker )
5
+ ![ GitHub top language] ( https://img.shields.io/github/languages/top/shockerli/spiker )
3
6
4
7
> 实时规则计算引擎
5
8
>
6
9
> lexer is inspired by [ tdop] ( https://github.com/cristiandima/tdop )
7
10
8
- [ English] ( README.md )
11
+ 中文 | [ English] ( README.md )
9
12
10
13
11
14
## 安装
You can’t perform that action at this time.
0 commit comments