Skip to content

Commit

Permalink
ci: Use mattn/goveralls instead of shogo821/goveralls (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
engedaam committed Nov 6, 2023
1 parent c3db2ec commit 3b61015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/presubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- name: Enable the actionlint matcher
run: echo "::add-matcher::.github/actionlint-matcher.json"
- run: K8S_VERSION=${{ matrix.k8sVersion }} make presubmit
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.out
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github
1 change: 1 addition & 0 deletions hack/toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tools() {
go install golang.org/x/vuln/cmd/govulncheck@latest
go install github.com/onsi/ginkgo/v2/ginkgo@latest
go install github.com/rhysd/actionlint/cmd/actionlint@latest
go install github.com/mattn/goveralls@latest

if ! echo "$PATH" | grep -q "${GOPATH:-undefined}/bin\|$HOME/go/bin"; then
echo "Go workspace's \"bin\" directory is not in PATH. Run 'export PATH=\"\$PATH:\${GOPATH:-\$HOME/go}/bin\"'."
Expand Down

0 comments on commit 3b61015

Please sign in to comment.