Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions .github/workflows/basic_go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,12 @@ jobs:
go test -v -coverprofile=profile.cov $(go list ./... | grep -E -v "${COVERAGE_EXCLUDES_REGEX}")
fi

- name: Install goveralls
if: ${{ !cancelled() }}
run: go install github.com/mattn/goveralls@latest

- name: Submit coverage
if: ${{ !cancelled() }}
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github
continue-on-error: true
uses: shogo82148/actions-goveralls@25f5320d970fb565100cf1993ada29be1bb196a1 # v1.10.0
with:
path-to-profile: profile.cov

staticcheck:
name: staticcheck
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,12 @@ jobs:
go test -v -coverprofile=profile.cov $(go list ./... | grep -E -v "${COVERAGE_EXCLUDES_REGEX}")
fi

- name: Install goveralls
if: ${{ matrix.go == fromJson(inputs.go-versions)[0] }}
run: go install github.com/mattn/goveralls@latest

- name: Submit coverage
if: ${{ matrix.go == fromJson(inputs.go-versions)[0] }}
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=profile.cov -service=github
if: ${{ !cancelled() }}
continue-on-error: true
uses: shogo82148/actions-goveralls@25f5320d970fb565100cf1993ada29be1bb196a1 # v1.10.0
with:
path-to-profile: profile.cov

- name: Run Tests
env:
Expand Down