name: build
on: [push, pull_request]
jobs:
  tests:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@master
      - uses: actions/setup-go@v2
        with:
          go-version: '1.14'
      - name: Run tests
        run: go test -v -covermode=count -coverprofile=profile.cov ./...
      - name: Send coverage report to coveralls
        uses: shogo82148/actions-goveralls@v1
        with:
          path-to-profile: profile.cov

Add Coverage In The Workflow
Add Coverage In The Workflow

Signed-off-by: RishabhBhatnagar <3f14ca5460db5da76f7a0004ecf5e8084affa295@gmail.com>
