Skip to content

Commit

Permalink
feat: add codecov & badges
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoCourbassier committed Feb 7, 2024
1 parent b981500 commit efd2fa6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ jobs:

- name: Test
run: go test -v ./...

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<img src="https://go.dev/images/go-logo-blue.svg" width="150" height="150">

[![Go](https://github.com/LeoCourbassier/golang-grpc-template/actions/workflows/go.yml/badge.svg)](https://github.com/LeoCourbassier/golang-grpc-template/actions/workflows/go.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/LeoCourbassier/golang-grpc-template)](https://goreportcard.com/report/github.com/LeoCourbassier/golang-grpc-template)
[![codecov](https://codecov.io/gh/LeoCourbassier/golang-grpc-template/branch/main/graph/badge.svg?token=3Z3Z3Z3Z3Z)](https://codecov.io/gh/LeoCourbassier/golang-grpc-template)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
# Go gRPC Template

> [!NOTE]
Expand Down

0 comments on commit efd2fa6

Please sign in to comment.