mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-27 17:53:32 +00:00
Update CI to install tools with go install rather than go get
Signed-off-by: Calle Pettersson <calle@cape.nu>
This commit is contained in:
parent
3f2a143104
commit
5d224b43ca
@ -18,11 +18,8 @@ install:
|
||||
appveyor DownloadFile https://github.com/golangci/golangci-lint/releases/download/v1.21.0/golangci-lint-1.21.0-windows-amd64.zip
|
||||
Expand-Archive golangci-lint-1.21.0-windows-amd64.zip
|
||||
Move-Item golangci-lint-1.21.0-windows-amd64\golangci-lint-1.21.0-windows-amd64\golangci-lint.exe $env:GOPATH\bin\golangci-lint.exe
|
||||
- ps: |
|
||||
$env:GO111MODULE="off"
|
||||
go get -u github.com/prometheus/promu
|
||||
go get -u github.com/josephspurrier/goversioninfo/cmd/goversioninfo
|
||||
$env:GO111MODULE="on"
|
||||
- go install github.com/prometheus/promu@v0.11.1
|
||||
- go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.2.0
|
||||
|
||||
test_script:
|
||||
- make test
|
||||
|
Loading…
Reference in New Issue
Block a user