File tree Expand file tree Collapse file tree 3 files changed +37
-16
lines changed Expand file tree Collapse file tree 3 files changed +37
-16
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a golang project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+ name : Go
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ jobs :
13+
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : Set up Go
20+ uses : actions/setup-go@v4
21+ with :
22+ go-version : ' 1.20'
23+
24+ - name : Install dependencies
25+ run : go mod download
26+
27+ - name : Run tests
28+ run : go test -race -covermode atomic -coverprofile=covprofile ./...
29+
30+ - name : Install goveralls
31+ run : go install github.com/mattn/goveralls@latest
32+
33+ - name : Send coverage
34+ env :
35+ COVERALLS_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
36+ run : goveralls -coverprofile=covprofile -service=github
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11[ ![ GoReportCard] ( http://goreportcard.com/badge/github.com/asticode/go-astits )] ( http://goreportcard.com/report/github.com/asticode/go-astits )
22[ ![ GoDoc] ( https://godoc.org/github.com/asticode/go-astits?status.svg )] ( https://godoc.org/github.com/asticode/go-astits )
3- [ ![ Travis ] ( https://travis-ci.org /asticode/go-astits. svg?branch=master )] ( https://travis-ci.org /asticode/go-astits# )
3+ [ ![ Test ] ( https://github.com /asticode/go-astits/actions/workflows/test.yml/badge. svg )] ( https://github.com /asticode/go-astits/actions/workflows/test.yml )
44[ ![ Coveralls] ( https://coveralls.io/repos/github/asticode/go-astits/badge.svg?branch=master )] ( https://coveralls.io/github/asticode/go-astits )
55
66This is a Golang library to natively demux and mux MPEG Transport Streams (ts) in GO.
You can’t perform that action at this time.
0 commit comments