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 }}