Skip to content

Commit

Permalink
Merge pull request #814 from rsteube/coverall
Browse files Browse the repository at this point in the history
fix covealls
  • Loading branch information
rsteube committed Jul 14, 2023
2 parents d3a51cd + ca93a0e commit 719e669
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/')
Expand Down

0 comments on commit 719e669

Please sign in to comment.