git » chasquid » commit 9e84525

docs: Update badge/link to the CI status

author Alberto Bertogli
2023-05-24 21:10:39 UTC
committer Alberto Bertogli
2023-05-24 21:18:12 UTC
parent 01a6d088e2b0e7b440cb1a29a200a9cd190e09f0

docs: Update badge/link to the CI status

The current badge, which covers all the branch checks doesn't work, it
always says "pending".

This patch replaces it with the gotest workflow status. It is much more
narrow, but at least it works and gives a decent indication of the
testing status.

README.md +1 -1

diff --git a/README.md b/README.md
index fdcf839..915eccc 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ It is designed mainly for individuals and small groups.
 It's written in [Go](https://golang.org), and distributed under the
 [Apache license 2.0](http://en.wikipedia.org/wiki/Apache_License).
 
-[![Github status](https://img.shields.io/github/checks-status/albertito/chasquid/master)](https://github.com/albertito/chasquid/actions)
+[![Go tests](https://github.com/albertito/chasquid/actions/workflows/gotests.yml/badge.svg?branch=master)](https://github.com/albertito/chasquid/actions)
 [![Go Report Card](https://goreportcard.com/badge/github.com/albertito/chasquid)](https://goreportcard.com/report/github.com/albertito/chasquid)
 [![Coverage](https://img.shields.io/badge/coverage-next-brightgreen.svg)](https://blitiri.com.ar/p/chasquid/coverage.html)  
 [![Docs](https://img.shields.io/badge/docs-reference-blue.svg)](https://blitiri.com.ar/p/chasquid/)