mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-08 05:56:37 +00:00
Don't upgrade dependencies when installing tools
Dependency upgrade has resulted in github.com/prometheus/client_golang being upgraded from v1.11.0 to v1.12.0 prior to end-to-end test. This new release introduces new `go_*` metrics, causing the test to fail on the unexpected output. Signed-off-by: Ben Reedy <breed808@breed808.com>
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -25,8 +25,8 @@ jobs:
|
||||
|
||||
- name: Install e2e deps
|
||||
run: |
|
||||
go get -u github.com/prometheus/promu@v0.11.1
|
||||
go get -u github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.2.0
|
||||
go get github.com/prometheus/promu@v0.11.1
|
||||
go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.2.0
|
||||
# GOPATH\bin dir must be appended to PATH else the `promu` command won't be found
|
||||
echo "$(go env GOPATH)\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
|
||||
@@ -90,8 +90,8 @@ jobs:
|
||||
|
||||
- name: Install Build deps
|
||||
run: |
|
||||
go get -u github.com/prometheus/promu@v0.11.1
|
||||
go get -u github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.2.0
|
||||
go get github.com/prometheus/promu@v0.11.1
|
||||
go get github.com/josephspurrier/goversioninfo/cmd/goversioninfo@v1.2.0
|
||||
# GOPATH\bin dir must be added to PATH else the `promu` and `goversioninfo` commands won't be found
|
||||
echo "$(go env GOPATH)\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
|
||||
|
||||
Reference in New Issue
Block a user