From 7f4c0fc9bc18c44e3bd10b9b3a30b531f02130cb Mon Sep 17 00:00:00 2001 From: Igor Lazarev Date: Sat, 3 Oct 2026 16:38:40 +0000 Subject: [PATCH] docs: add Scrutinizer coverage badge to README --- CHANGELOG.md | 2 ++ README.md | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c2fde7e..a452e14 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Show the Scrutinizer test coverage badge in the README next to the code quality badge. + - Reorganize the documentation around a shorter quick start and constraint catalog; correct API examples, validation groups, translations, and release instructions. - CI and local lint use golangci-lint `v2.13.2` (`gomodguard_v2`); `goconst` disabled in `.golangci.yml`. diff --git a/README.md b/README.md index df1e23d..29fd3b0 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ [![tests](https://github.com/muonsoft/validation/actions/workflows/tests.yml/badge.svg)](https://github.com/muonsoft/validation/actions/workflows/tests.yml) [![Go Report Card](https://goreportcard.com/badge/github.com/muonsoft/validation)](https://goreportcard.com/report/github.com/muonsoft/validation) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/muonsoft/validation/badges/quality-score.png?b=main)](https://scrutinizer-ci.com/g/muonsoft/validation/?branch=main) +[![Scrutinizer Code Coverage](https://scrutinizer-ci.com/g/muonsoft/validation/badges/coverage.png?b=main)](https://scrutinizer-ci.com/g/muonsoft/validation/?branch=main) [![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.0-4baaaa.svg)](CODE_OF_CONDUCT.md) Validate Go values with typed, composable constraints. Define rules in code,