switch to go mod based goveralls in CI

This commit is contained in:
John Bartholomew 2025-01-20 21:09:49 +00:00
parent 9e1e952016
commit 923f51b8e3

View File

@ -78,15 +78,14 @@ jobs:
# version: v1.30.0 # version: v1.30.0
- run: make all - run: make all
- name: Install goveralls - name: Install goveralls
env:
GO111MODULE: off
run: | run: |
export GOPATH=$GITHUB_WORKSPACE export GOPATH=$GITHUB_WORKSPACE
go get github.com/mattn/goveralls go install github.com/mattn/goveralls@v0.0.12
- name: Send coverage - name: Send coverage
env: env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./bin/goveralls -coverprofile=coverage.out -service=github run: |
./bin/goveralls -coverprofile=coverage.out -service=github
goreleaser: goreleaser:
name: Goreleaser name: Goreleaser