From ca93a0e7fc6fbebeeb5f6491bdce6c0ff712effb Mon Sep 17 00:00:00 2001 From: rsteube Date: Fri, 14 Jul 2023 20:56:47 +0200 Subject: [PATCH] fix covealls --- .github/workflows/go.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 9ed77f93..698e9211 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,11 +29,15 @@ jobs: run: go generate ./... - name: Test - run: go test -v ./... ./example-nonposix/... + run: go test -v -coverprofile=profile.cov ./... ./example-nonposix/... - name: "Check formatting" run: '[ "$(gofmt -d -s . | tee -a /dev/stderr)" = "" ]' + - uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: profile.cov + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 if: startsWith(github.ref, 'refs/tags/')