File tree Expand file tree Collapse file tree 3 files changed +42
-7
lines changed Expand file tree Collapse file tree 3 files changed +42
-7
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ - push
5
+ - pull_request
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+
11
+ strategy :
12
+ matrix :
13
+ go-version : ["1.21.x"]
14
+
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v2
18
+
19
+ - name : Set up Go
20
+ uses : actions/setup-go@v2
21
+ with :
22
+ go-version : ${{ matrix.go-version }}
23
+ id : go
24
+
25
+ - name : Install dependencies
26
+ run : make dev-deps
27
+
28
+ - name : Run tests
29
+ run : make ci
30
+
31
+ - name : Update coverage report
32
+ uses : ncruces/go-coverage-report@v0
33
+ with :
34
+ report : true
35
+ chart : true
36
+ amend : true
37
+ reuse-go : true
38
+ if : |
39
+ github.event_name == 'push'
40
+ continue-on-error : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- [ ![ Build Status] ( https://travis-ci.org /tobgu/qframe.png )] ( https://travis-ci.org /tobgu/qframe )
2
- [ ![ gocover.run ] ( https://gocover.run/ github.com/tobgu/qframe.svg?style=flat&tag=1.10 )] ( https://gocover.run?tag=1.10&repo=github. com%2Ftobgu%2Fqframe )
1
+ [ ![ CI Status] ( https://github.com /tobgu/qframe/actions/workflows/ci.yaml/badge.svg )] ( https://github.com /tobgu/qframe/actions/workflows/ci.yaml )
2
+ [ ![ Go Coverage ] ( https://github.com/tobgu/qframe/wiki/coverage .svg )] ( https://raw.githack. com/wiki/tobgu/qframe/coverage.html )
3
3
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/tobgu/qframe )] ( https://goreportcard.com/report/github.com/tobgu/qframe )
4
4
[ ![ GoDoc] ( https://godoc.org/github.com/tobgu/qframe?status.svg )] ( https://godoc.org/github.com/tobgu/qframe )
5
5
You can’t perform that action at this time.
0 commit comments