Skip to content

Commit

Permalink
Merge pull request prometheus-community#753 from prometheus-community…
Browse files Browse the repository at this point in the history
…/fix-ci

Update CI to install tools with go install rather than go get
  • Loading branch information
carlpett authored Mar 28, 2021
2 parents f36bc73 + fdf2164 commit 0188f1e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0188f1e

Please sign in to comment.