diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e643ad1..b7af7ad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 ./... diff --git a/README.md b/README.md index 5a9bf1d..7a2c0ed 100644 --- a/README.md +++ b/README.md @@ -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: