Skip to content

Commit d82aa99

Browse files
committed
test: fix goveralls install issue
1 parent 66f9d47 commit d82aa99

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ jobs:
2424

2525
- name: Test
2626
run: go test -covermode=count -coverprofile=profile.cov ./pkg/...
27-
27+
28+
- name: Install goveralls
29+
run: go install github.com/mattn/goveralls@latest
30+
2831
- name: Send coverage
2932
env:
3033
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
run: |
32-
GO111MODULE=off go get github.com/mattn/goveralls
33-
$(go env GOPATH)/bin/goveralls -coverprofile=profile.cov -service=github
34+
run: goveralls -coverprofile=profile.cov -service=github

0 commit comments

Comments
 (0)