Coverage action.
This commit is contained in:
parent
5b4a55e77a
commit
4f0a61b1c1
2 changed files with 7 additions and 4 deletions
9
.github/workflows/go.yml
vendored
9
.github/workflows/go.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: oldstable
|
||||
|
||||
- name: Build
|
||||
run: go build -v -tags dev ./...
|
||||
|
@ -25,6 +25,9 @@ jobs:
|
|||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
||||
- name: Update coverage badge
|
||||
uses: ncruces/go-coverage-report@v0.1.0
|
||||
|
||||
macos:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
|
@ -33,7 +36,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: oldstable
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
@ -49,7 +52,7 @@ jobs:
|
|||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: oldstable
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[![Go Reference](https://pkg.go.dev/badge/image)](https://pkg.go.dev/github.com/ncruces/zenity)
|
||||
[![Go Report](https://goreportcard.com/badge/github.com/ncruces/zenity)](https://goreportcard.com/report/github.com/ncruces/zenity)
|
||||
[![Go Cover](https://gocover.io/_badge/github.com/ncruces/zenity)](https://gocover.io/github.com/ncruces/zenity)
|
||||
[![Go Coverage](https://github.com/ncruces/zenity/wiki/coverage.svg)](https://raw.githack.com/wiki/ncruces/zenity/coverage.html)
|
||||
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go)
|
||||
|
||||
This repo includes:
|
||||
|
|
Loading…
Reference in a new issue