From a8c26b4302494d8f8f3ec075640cf8ffad2fa0d3 Mon Sep 17 00:00:00 2001 From: Pulkit Kathuria Date: Sat, 6 Apr 2024 19:27:16 +0900 Subject: [PATCH] (docs) update README new badge --- .github/workflows/coveritup.yml | 2 +- README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coveritup.yml b/.github/workflows/coveritup.yml index 4344751..03dca29 100644 --- a/.github/workflows/coveritup.yml +++ b/.github/workflows/coveritup.yml @@ -45,7 +45,7 @@ jobs: uses: kevincobain2000/action-coveritup@v2 with: type: allocs-per-op - command: go test -count 1 -bench=. ./... -benchmem|grep allocs|awk ' { print $(--NF)}' + command: go test -count 1 -bench=. ./... -benchmem|grep allocs|awk '{ print $(--NF)}' record: score metric: alloc diff --git a/README.md b/README.md index 2198c88..a97835d 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ ![build-time](https://coveritup.app/badge?org=kevincobain2000&repo=gobrew&type=build-time&branch=master) ![go-binary-size](https://coveritup.app/badge?org=kevincobain2000&repo=gobrew&type=go-binary-size&branch=master) ![unit-test-run-time](https://coveritup.app/badge?org=kevincobain2000&repo=gobrew&type=unit-test-run-time&branch=master) +![allocs-per-op](https://coveritup.app/badge?org=kevincobain2000&repo=gobrew&type=allocs-per-op&branch=master) ![go-mod-dependencies](https://coveritup.app/badge?org=kevincobain2000&repo=gobrew&type=go-mod-dependencies&branch=master) ![go-sec-issues](https://coveritup.app/badge?org=kevincobain2000&repo=gobrew&type=go-sec-issues&branch=master) @@ -37,7 +38,7 @@ ![go-mod-dependencies](https://coveritup.app/chart?org=kevincobain2000&repo=gobrew&type=go-mod-dependencies&branch=master&output=svg&width=160&height=160) ![go-sec-issues](https://coveritup.app/chart?org=kevincobain2000&repo=gobrew&type=go-sec-issues&branch=master&output=svg&width=160&height=160&line=fill) ![unit-test-run-time](https://coveritup.app/chart?org=kevincobain2000&repo=gobrew&type=unit-test-run-time&branch=master&output=svg&width=160&height=160) - +![allocs-per-op](https://coveritup.app/chart?org=kevincobain2000&repo=gobrew&type=allocs-per-op&output=svg&width=160&height=160&branch=master)