From e203ecfeac86bfa15908596c40abc26acd90a1fc Mon Sep 17 00:00:00 2001 From: Pablo Morelli Date: Wed, 23 Mar 2022 11:38:49 +0100 Subject: [PATCH] trying to fix coveralls --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd70bc1..6d766a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,9 +26,10 @@ jobs: run: go get github.com/mattn/goveralls - name: Test - run: go test -race -covermode atomic -coverprofile=covprofile ./... + run: go test -coverprofile=profile.cov ./... - name: Send coverage - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: goveralls -coverprofile=covprofile -service=github + uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: profile.cov + github-token: ${{ secrets.GITHUB_TOKEN }}