Skip to content

Commit

Permalink
Merge pull request #753 from prometheus-community/fix-ci
Browse files Browse the repository at this point in the history
Update CI to install tools with go install rather than go get
  • Loading branch information
carlpett authored Mar 28, 2021
2 parents 3f2a143 + 5d224b4 commit 6dee242
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/promu@v0.11.1
- go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.2.0

test_script:
- make test
Expand Down

0 comments on commit 6dee242

Please sign in to comment.