Skip to content

Commit decae47

Browse files
switch to go mod based goveralls in CI
1 parent 28852ed commit decae47

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: .github/workflows/ci.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,23 @@ jobs:
7070
runs-on: ubuntu-latest
7171
steps:
7272
- uses: actions/checkout@v2
73-
- run: sudo apt install python3-dev python3-setuptools
74-
- run: pip install -U wheel
75-
- run: pip install -U pytest setuptools
73+
# - run: sudo apt install python3-dev python3-setuptools
74+
# - run: pip install -U wheel
75+
# - run: pip install -U pytest setuptools
7676
# - uses: golangci/golangci-lint-action@v2
7777
# with:
7878
# version: v1.30.0
7979
- run: make all
8080
- name: Install goveralls
81-
env:
82-
GO111MODULE: off
8381
run: |
84-
export GOPATH=$GITHUB_WORKSPACE
85-
go get github.com/mattn/goveralls
82+
export GOBIN=$GITHUB_WORKSPACE/gobin
83+
mkdir "$GOBIN"
84+
go install github.com/mattn/[email protected]
8685
- name: Send coverage
8786
env:
8887
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89-
run: ./bin/goveralls -coverprofile=coverage.out -service=github
88+
run: |
89+
./gobin/goveralls -coverprofile=coverage.out -service=github
9090
9191
goreleaser:
9292
name: Goreleaser

0 commit comments

Comments
 (0)