Skip to content

Commit

Permalink
Remove deprecated coverage pkg (#115)
Browse files Browse the repository at this point in the history
Recently I found that a previous change not related to workflows is failing  in my other PR
#111

It is happening because the package [golang.org/x/tools/cmd/cover](https://pkg.go.dev/golang.org/x/tools/cmd/cover) is no longer active and marked as deprecated, that's why the test is falling 


```
Run go get golang.org/x/tools/cmd/cover
  go get golang.org/x/tools/cmd/cover
  shell: /usr/bin/bash -e {0}
  env:
    GO111MODULE: auto
    GOROOT: /opt/hostedtoolcache/go/1.19.4/x64
cannot find package "golang.org/x/tools/cmd/cover" in any of:
	/opt/hostedtoolcache/go/1.19.4/x64/src/golang.org/x/tools/cmd/cover (from $GOROOT)
	/home/runner/go/src/golang.org/x/tools/cmd/cover (from $GOPATH)
Error: Process completed with exit code 1.
```
The tests are focused on 1.18 e 1.19 we will be fine
  • Loading branch information
LeonanCarvalho authored Jan 23, 2023
1 parent 9363593 commit 6ba114c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get Coverage
run: go get golang.org/x/tools/cmd/cover

- name: Build
run: go build -v ./...

Expand Down

0 comments on commit 6ba114c

Please sign in to comment.