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:
Ben Reedy
2022-01-23 09:15:59 +10:00
parent ce205d4c4d
commit 2a5c51a236

View File

@@ -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