workflow: add codecov
Enes Çakır enes@cakir.web.tr
Tue, 18 Feb 2020 00:47:27 +0300
2 files changed,
7 insertions(+),
2 deletions(-)
M
.github/workflows/go.yml
→
.github/workflows/go.yml
@@ -15,6 +15,9 @@ uses: actions/checkout@v1
- name: Test run: | go mod tidy -v - go test -race ./... + go test -race -coverprofile=coverage.txt -covermode=atomic ./.. + - uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} - name: Build run: go build ./...
M
README.md
→
README.md
@@ -1,6 +1,8 @@
# emoji :rocket: :school_satchel: :tada: -[![build](https://github.com/enescakir/emoji/workflows/build/badge.svg?branch=master)](https://github.com/enescakir/emoji/actions) +[![Build Status](https://github.com/enescakir/emoji/workflows/build/badge.svg?branch=master)](https://github.com/enescakir/emoji/actions) [![godoc](https://godoc.org/github.com/enescakir/emoji?status.svg)](https://godoc.org/github.com/enescakir/emoji) +[![Go Report Card](https://goreportcard.com/badge/github.com/enescakir/emoji)](https://goreportcard.com/report/github.com/enescakir/emoji) +![MIT License](https://img.shields.io/github/license/enescakir/emoji) `emoji` is a minimalistic emoji library for Go. It lets you use emoji characters in strings.