mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01: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
b730fc2667
commit
b9913e151a
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -20,8 +20,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 New Issue
Block a user