From 3a8aa0cc65c989f422ca56785668c4ca64994996 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 9 Jul 2026 22:22:19 +0000 Subject: [PATCH] docs: add CI, CodeQL and SonarCloud badges to the README Add build (ci), CodeQL, SonarCloud Quality Gate and Coverage badges to the header of README.md and its French translation, alongside the existing .NET Standard and license badges. No NuGet badge yet: nothing is published (no v* release tag), so it would render as 'not found'. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01AbXi2ZEaUFeFWodNxdY6Zk --- README.md | 7 ++++++- doc/README.fr.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 175e1fcf..dfab1596 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,12 @@ 🌍 **Languages:** 🇬🇧 English (this file) | 🇫🇷 [Français](./doc/README.fr.md) -![.NET Standard 2.0](https://img.shields.io/badge/.NET%20Standard-2.0-512BD4) [![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE) +[![ci](https://github.com/Reefact/first-class-errors/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Reefact/first-class-errors/actions/workflows/ci.yml) +[![codeql](https://github.com/Reefact/first-class-errors/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/Reefact/first-class-errors/actions/workflows/codeql.yml) +[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=reefact_first-class-errors&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=reefact_first-class-errors) +[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=reefact_first-class-errors&metric=coverage)](https://sonarcloud.io/summary/new_code?id=reefact_first-class-errors) +![.NET Standard 2.0](https://img.shields.io/badge/.NET%20Standard-2.0-512BD4) +[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE) --- diff --git a/doc/README.fr.md b/doc/README.fr.md index aac9787e..d65909a9 100644 --- a/doc/README.fr.md +++ b/doc/README.fr.md @@ -3,7 +3,12 @@ 🌍 **Langues:** 🇬🇧 [English](../README.md) | 🇫🇷 Français (ce fichier) -![.NET Standard 2.0](https://img.shields.io/badge/.NET%20Standard-2.0-512BD4) [![Licence : Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](../LICENSE) +[![ci](https://github.com/Reefact/first-class-errors/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Reefact/first-class-errors/actions/workflows/ci.yml) +[![codeql](https://github.com/Reefact/first-class-errors/actions/workflows/codeql.yml/badge.svg?branch=main)](https://github.com/Reefact/first-class-errors/actions/workflows/codeql.yml) +[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=reefact_first-class-errors&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=reefact_first-class-errors) +[![Couverture](https://sonarcloud.io/api/project_badges/measure?project=reefact_first-class-errors&metric=coverage)](https://sonarcloud.io/summary/new_code?id=reefact_first-class-errors) +![.NET Standard 2.0](https://img.shields.io/badge/.NET%20Standard-2.0-512BD4) +[![Licence : Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](../LICENSE) ---