forked from prometheus-community/windows_exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request prometheus-community#753 from prometheus-community…
…/fix-ci Update CI to install tools with go install rather than go get
- Loading branch information
Showing
1 changed file
with
2 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- go install github.com/josephspurrier/goversioninfo/cmd/[email protected] | ||
|
||
test_script: | ||
- make test | ||
|