From 6e76df2c31921d45c99afd097087340fd59ee0ef Mon Sep 17 00:00:00 2001 From: Robin Hahling Date: Fri, 19 Feb 2021 10:59:02 +0100 Subject: [PATCH] doc: add Go doc reference and CI badges to the readme Signed-off-by: Robin Hahling --- .github/workflows/tests.yml | 2 +- README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index da88c44..d4d0632 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,4 +1,4 @@ -name: Run static checks and unit tests +name: Tests on: push: diff --git a/README.md b/README.md index 1cab8a3..b6c8836 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # Workerpool +[![Go Reference](https://pkg.go.dev/badge/github.com/cilium/workerpool.svg)](https://pkg.go.dev/github.com/cilium/workerpool) +[![CI](https://github.com/cilium/workerpool/workflows/Tests/badge.svg)](https://github.com/cilium/workerpool/actions?query=workflow%3ATests) +[![Go Report Card](https://goreportcard.com/badge/github.com/cilium/workerpool)](https://goreportcard.com/report/github.com/cilium/workerpool) + Package workerpool implements a concurrency limiting worker pool. Worker routines are spawned on demand as tasks are submitted.