From d275e52a416f7edcfcffa8a14edbe7f1c9435595 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Mon, 8 Aug 2022 12:16:40 -0500 Subject: [PATCH] fix: Add godoc badge to README (#3412) This helps allude to the idea that Coder provides an API as seen in #3411. This also fixes the codecov badge from always being red ;p --- .github/codecov.yml | 5 ++++- README.md | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/codecov.yml b/.github/codecov.yml index 2a626cda0b..902dae6be2 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -9,6 +9,9 @@ github_checks: annotations: false coverage: + range: 50..75 + round: down + precision: 2 status: patch: default: @@ -16,7 +19,7 @@ coverage: project: default: target: 65% - informational: yes + informational: true ignore: # This is generated code. diff --git a/README.md b/README.md index 47d1c665ca..fd3c348bdb 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [!["Join us on Discord"](https://img.shields.io/badge/join-us%20on%20Discord-gray.svg?longCache=true&logo=discord&colorB=green)](https://discord.gg/coder) [![codecov](https://codecov.io/gh/coder/coder/branch/main/graph/badge.svg?token=TNLW3OAP6G)](https://codecov.io/gh/coder/coder) +[![Go Reference](https://pkg.go.dev/badge/github.com/coder/coder.svg)](https://pkg.go.dev/github.com/coder/coder) [![Twitter Follow](https://img.shields.io/twitter/follow/CoderHQ?label=%40CoderHQ&style=social)](https://twitter.com/coderhq)