File tree Expand file tree Collapse file tree 4 files changed +33
-29
lines changed
Expand file tree Collapse file tree 4 files changed +33
-29
lines changed Original file line number Diff line number Diff line change 1+ name : Main
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ build :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : Set up Go
16+ uses : actions/setup-go@v2
17+ with :
18+ go-version : 1.16
19+
20+ - name : Test
21+ run : go test -coverprofile=coverage.out ./...
22+
23+ - name : Convert coverage
24+ uses :
jandelgado/[email protected] 25+
26+ - name : Upload coverage
27+ uses : coverallsapp/github-action@master
28+ with :
29+ github-token : ${{ secrets.github_token }}
30+ path-to-lcov : coverage.lcov
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://travis-ci.com/looplab/fsm.svg?branch=master )] ( https://travis-ci.com/looplab/fsm )
1+ [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/looplab/fsm )] ( https://pkg.go.dev/github.com/looplab/fsm )
2+ ![ Bulid Status] ( https://github.com/looplab/fsm/actions/workflows/main.yml/badge.svg )
23[ ![ Coverage Status] ( https://img.shields.io/coveralls/looplab/fsm.svg )] ( https://coveralls.io/r/looplab/fsm )
3- [ ![ GoDoc] ( https://godoc.org/github.com/looplab/fsm?status.svg )] ( https://godoc.org/github.com/looplab/fsm )
44[ ![ Go Report Card] ( https://goreportcard.com/badge/looplab/fsm )] ( https://goreportcard.com/report/looplab/fsm )
55
66# FSM for Go
Original file line number Diff line number Diff line change 11module github.com/looplab/fsm
22
3- go 1.13
3+ go 1.16
You can’t perform that action at this time.
0 commit comments