Pin lint-consul-retry to v1.3.0 (#19781)

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
zalimeni/add-make-target-dependency-update-modules
Matt Keeler 1 year ago committed by GitHub
parent 790cb30173
commit 8f7f15e430
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -156,7 +156,7 @@ jobs:
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 - uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
- run: go install github.com/hashicorp/lint-consul-retry@master && lint-consul-retry - run: go install github.com/hashicorp/lint-consul-retry@v1.3.0 && lint-consul-retry
lint: lint:
needs: needs:

@ -20,6 +20,7 @@ PROTOC_GO_INJECT_TAG_VERSION='v1.3.0'
PROTOC_GEN_GO_BINARY_VERSION='v0.1.0' PROTOC_GEN_GO_BINARY_VERSION='v0.1.0'
DEEP_COPY_VERSION='bc3f5aa5735d8a54961580a3a24422c308c831c2' DEEP_COPY_VERSION='bc3f5aa5735d8a54961580a3a24422c308c831c2'
COPYWRITE_TOOL_VERSION='v0.16.4' COPYWRITE_TOOL_VERSION='v0.16.4'
LINT_CONSUL_RETRY_VERSION='v1.3.0'
# Go imports formatter # Go imports formatter
GCI_VERSION='v0.11.2' GCI_VERSION='v0.11.2'

@ -141,15 +141,20 @@ function proto_tools_install {
} }
function lint_install { function lint_install {
local lint_consul_retry_version
lint_consul_retry_version="$(make --no-print-directory print-LINT_CONSUL_RETRY_VERSION)"
local golangci_lint_version local golangci_lint_version
golangci_lint_version="$(make --no-print-directory print-GOLANGCI_LINT_VERSION)" golangci_lint_version="$(make --no-print-directory print-GOLANGCI_LINT_VERSION)"
local gci_version local gci_version
gci_version="$(make --no-print-directory print-GCI_VERSION)" gci_version="$(make --no-print-directory print-GCI_VERSION)"
install_unversioned_tool \ install_versioned_tool \
'lint-consul-retry' \ 'lint-consul-retry' \
'github.com/hashicorp/lint-consul-retry@master' 'github.com/hashicorp/lint-consul-retry' \
"${lint_consul_retry_version}" \
'github.com/hashicorp/lint-consul-retry'
install_unversioned_tool \ install_unversioned_tool \
'enumcover' \ 'enumcover' \

Loading…
Cancel
Save