From 41e2e02d356bf9de4bbfcd22b375b124928041fc Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Thu, 31 Aug 2023 12:45:56 +0200 Subject: [PATCH] chore: added badges to readme. Signed-off-by: Federico Di Pierro --- .github/workflows/ci.yml | 9 +++++++++ README.md | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 08a4046..b948270 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,3 +30,12 @@ jobs: - name: Test run: make test + - name: Update coverage report + uses: ncruces/go-coverage-report@v0 + with: + report: 'true' + chart: 'true' + amend: 'false' + if: github.event_name == 'push' + continue-on-error: true + diff --git a/README.md b/README.md index 8754e4d..b1b5f14 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # dbg-go +[![CI build](https://github.com/FedeDP/dbg-go/actions/workflows/ci.yml/badge.svg)](https://github.com/FedeDP/dbg-go/actions/workflows/ci.yml) +[![Latest](https://img.shields.io/github/v/release/FedeDP/dbg-go)](https://github.com/FedeDP/dbg-go/releases/latest) +[![Go Coverage](https://github.com/FedeDP/dbg-go/wiki/coverage.svg)](https://raw.githack.com/wiki/FedeDP/dbg-go/coverage.html) + A go tool to work with falcosecurity [drivers build grid](https://github.com/falcosecurity/test-infra/tree/master/driverkit). Long term aim is to completely reimplement dbg Makefile and bash scripts in a much more maintenable and testable language.