mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-10 15:14:09 +00:00
.github/workflows/main.yml: fall back to go get
instead of go install
for installing aux tools
It is unclear why `go install` doesn't work in Github Actions. Needs additional investigation. The following error is returned now: cannot find package "golang.org/x/lint/golint" in any of: /opt/hostedtoolcache/go/1.15.5/x64/src/golang.org/x/lint/golint (from $GOROOT) /home/runner/go/src/golang.org/x/lint/golint (from $GOPATH)
This commit is contained in:
parent
eddc2bd017
commit
a66af20686
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
|||
id: go
|
||||
- name: Dependencies
|
||||
run: |
|
||||
go install golang.org/x/lint/golint
|
||||
go install github.com/kisielk/errcheck
|
||||
go get -u golang.org/x/lint/golint
|
||||
go get -u github.com/kisielk/errcheck
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.29.0
|
||||
- name: Code checkout
|
||||
uses: actions/checkout@master
|
||||
|
|
Loading…
Reference in a new issue