Closed
Description
When installing tools via go get
(e.g. golint) they can not be ran without adding $GOPATH/bin
to $PATH
beforehand.
So for using e.g. golint one would need to write a step:
- run: |
export PATH=$PATH:$(go env GOPATH)/bin
go get -u golang.org/x/lint/golint
golint -set_exit_status ./...
It would be cool, if setup-go could already do the export PATH=$PATH:$(go env GOPATH)/bin
part, as this is a common need.